The NetBSD Project

CVS log for src/sys/dev/ic/mb89352.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / ic

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed May 10 00:10:54 2023 UTC (18 months, 4 weeks ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +7 -7 lines
spc(4): Use config_detach_children.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Mar 28 20:01:58 2023 UTC (20 months, 1 week ago) by andvar
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
s/interrput/interrupt/ and s/accesss/access/ in comments.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Jan 1 21:07:14 2022 UTC (2 years, 11 months ago) by andvar
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
fix typos in comments, mainly basicly -> basically.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:12 2021 UTC (3 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
Merge thorpej-cfargs2.

Revision 1.59.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 20:14:42 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +3 -3 lines
Adapt to CFARGS().

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:55 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3 lines
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.57.12.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:45 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +10 -3 lines
Sync with HEAD.

Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:09:12 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +3 -3 lines
Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Tue Mar 9 15:47:07 2021 UTC (3 years, 9 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +10 -3 lines
Pull up following revision(s) (requested by tsutsui in ticket #1228):

	sys/dev/ic/mb89352.c: revision 1.58

Fix a possible race condition in spc_msgin() in NO_MANUAL_XFER case.

To avoid the race, check SSTS and INTS after XFR command as
spc_pio_datain() does.

Reported from isaki@, observed on nono emulator.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Mar 6 05:37:18 2021 UTC (3 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +10 -3 lines
Fix a possible race condition in spc_msgin() in NO_MANUAL_XFER case.

To avoid the race, check SSTS and INTS after XFR command as
spc_pio_datain() does.

Reported from isaki@, observed on nono emulator.

Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:10 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +3 -3 lines
Sync with HEAD

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:49 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +3 -3 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:31 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, netbsd-9-base, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex, netbsd-9
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3 lines
Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.53.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:03 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.53.8.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.8.1: +3 -3 lines
update from HEAD

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Oct 28 04:53:55 2017 UTC (7 years, 1 month ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -4 lines
Kill some more extern struct cfdriver declarations.

Down with externs in .c!

Revision 1.54.10.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:28 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +3 -3 lines
Sync with HEAD

Revision 1.54.6.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:28 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +3 -3 lines
Sync with HEAD

Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Jan 11 07:16:48 2017 UTC (7 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3 lines
adatper -> adapter

Revision 1.53.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:38 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3 lines
Rebase to HEAD as of a few days ago.

Revision 1.52.8.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:22 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.52.8.1: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.8.1: +3 -3 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.53.12.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:37 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +3 -3 lines
sync with head

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Nov 4 16:54:56 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, localcount-20160914
Branch point for: pgoyette-localcount, nick-nhusb
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3 lines
mark variables __diagused

Revision 1.52.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:34 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +5 -2 lines
sync with head

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Dec 2 16:17:04 2011 UTC (13 years ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +5 -2 lines
Define NO_MANUAL_XFER on luna68k as temporary workaround for hangup problem
during probing old drives like DK312C in OMRON LUNA machines.

I'll check this MSGIN xfer problem later.
(NO_MANUAL_XFER also caused hang on heavy load on hp300 with multiple drives)

Revision 1.51.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:18 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +3 -3 lines
sync with head

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:10 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +3 -3 lines
Sync with HEAD.

Revision 1.47.4.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:28 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.47.4.3: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.4.3: +3 -3 lines
sync with head.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Jul 27 14:34:34 2010 UTC (14 years, 4 months ago) by jakllsch
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
printf() size_t with 'z' format modifier in debug code.

Revision 1.47.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:32 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.47.4.2: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.4.2: +6 -20 lines
sync with head

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Nov 23 02:13:46 2009 UTC (15 years ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -3 lines
Remove some unecessary includes sys/user.h header.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Nov 12 20:14:04 2009 UTC (15 years ago) by dyoung
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +6 -19 lines
Remove superfluous activation hook.

Add a child-detachment hook.

Revision 1.47.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:42 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.47.4.1: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.4.1: +3 -3 lines
sync with head.

Revision 1.46.16.3: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:07 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.46.16.2: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.16.2: +1 -1 lines
Sync with HEAD.

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:05 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +3 -3 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.48.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 18 16:33:10 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +3 -3 lines
Sync with head.

Revision 1.47.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:34 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.47.2.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.2.1: +3 -3 lines
sync with head.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jun 12 22:30:30 2008 UTC (16 years, 5 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3 lines
use device_lookup_private to get softc

Revision 1.46.16.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:24 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.46.16.1: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.16.1: +13 -6 lines
Sync with HEAD.

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:44 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +15 -8 lines
sync with head.

Revision 1.47.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:05 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +15 -8 lines
sync with head.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun May 4 12:59:38 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +15 -8 lines
Move to standard TNF 2 clause license

Revision 1.46.16.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:41 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +47 -45 lines
Sync with HEAD.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Mar 31 15:20:47 2008 UTC (16 years, 8 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +47 -45 lines
Split softc/device_t for spc(4) and misc related cleanup.

Revision 1.45.24.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:26:52 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +4 -4 lines
sync with HEAD

Revision 1.38.10.3: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:30:51 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.38.10.2: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.10.2: +4 -4 lines
sync with head.

Revision 1.45.22.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:52 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +4 -4 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.45.28.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:48 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +4 -4 lines
Sync with HEAD.

Revision 1.45.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:07:35 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +4 -4 lines
Sync with head.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Oct 19 11:59:56 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.38.10.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:03 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.38.10.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.10.1: +6 -4 lines
sync with head.

Revision 1.42.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:06 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.42.4.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.4.1: +4 -4 lines
sync with head.

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:13 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +4 -3 lines
Sync with head.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:51 2006 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -4 lines
__unused removal on arguments; approved by core.

Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:44 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +6 -5 lines
sync with head

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:01 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -4 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Oct 4 15:57:45 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -3 lines
fix empty if

Revision 1.40.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:50:02 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -3 lines
sync with head

Revision 1.40.8.1: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:57 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -3 lines
sync with head.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Sep 2 09:26:47 2006 UTC (18 years, 3 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -3 lines
Remove unused variable to make this build again.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Sep 2 07:00:23 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -2 lines
comment out impossible code

Revision 1.38.10.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:55 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
sync with head.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:27:30 2005 UTC (18 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:21:27 2005 UTC (19 years ago) by christos
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
merge ktrace-lwp.

Revision 1.15.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:30:40 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.15.2.5: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.5: +4 -4 lines
Sync with HEAD.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Jan 2 12:22:18 2005 UTC (19 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge
Branch point for: yamt-lazymbuf
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -4 lines
u_intNN_t -> uintNN_t

Revision 1.15.2.5: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:56:55 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.15.2.4: preferred, colored
Changes since revision 1.15.2.4: +75 -120 lines
Sync with HEAD

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Sep 25 12:17:30 2004 UTC (20 years, 2 months ago) by tsutsui
Branches: MAIN
CVS tags: kent-audio1-base, kent-audio1
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +55 -101 lines
Use ANSI function decls.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Sep 25 10:47:29 2004 UTC (20 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +12 -8 lines
Sprinkle DELAY(1)'s in several busy loops to avoid excessive bus access.
Inspired by OpenBSD.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Sep 25 10:36:15 2004 UTC (20 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -5 lines
On manual xfer via TEMP register, set PCTL_BFINT_ENAB and check
bus free by INTS register. spc_intr() also checks the INTS_DISCON bit.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Sep 25 10:32:15 2004 UTC (20 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +8 -8 lines
In spc_intr(), return 0 if the interrupt is not for spc(4).

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Sep 25 10:15:36 2004 UTC (20 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -6 lines
Use manual xfer via TEMP register in status phase even on x68k.
Some devices do not transfer data with proper way on status phase
and it causes bus error in spc_datain_pio() which uses auto xfer
via DREG register on weird x68k hardware.

Revision 1.15.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:28:04 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.15.2.3: preferred, colored
Changes since revision 1.15.2.3: +2 -2 lines
Fix the sync with head I botched.

Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:45:58 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.15.2.2: preferred, colored
Changes since revision 1.15.2.2: +2 -2 lines
Sync with HEAD.

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 12 11:41:25 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.15.2.1: preferred, colored
Changes since revision 1.15.2.1: +104 -67 lines
Sync with HEAD.

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 12 04:19:08 2004 UTC (20 years, 4 months ago) by jmc
Branches: netbsd-2-0
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +11 -6 lines
Pullup rev 1.27 (requested by tsutsui in ticket #747)

On manual transfer via TEMP register, data should be read before asserting ACK.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Aug 12 03:39:11 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -10 lines
Close a race condition in the datain loop.  If we receive another byte between
reading the FIFO status and reading the interrupt status, we could end up
leaving it in the FIFO.  Force another round through the loop after reading the
interrupt status until the FIFO reads empty again.

Also, there is no point in having the extra loop to wait for the transfer
command to the controller to be acknowledged, because the transfer loop handles
that just fine -- and getting rid of it fixes another race condition.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Aug 11 14:28:44 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +10 -5 lines
Correct the overrun loop while I'm at it.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Aug 11 14:22:34 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +13 -31 lines
Recode the datain_pio loop.  This improves performance substantially (almost
2x) with my spc@pcmcia.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Aug 9 14:07:57 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +73 -23 lines
Add detach support for spc@pcmcia, modeled after aic@pcmcia.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Aug 7 20:04:44 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -4 lines
Fix a printf() format for Alpha.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Aug 7 07:17:09 2004 UTC (20 years, 4 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +11 -6 lines
On manual transfer via TEMP register, data should be read
before asserting ACK.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:46:17 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +167 -140 lines
Sync with HEAD

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jan 6 18:07:17 2004 UTC (20 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +7 -2 lines
Fix bus error trap on X68030/25MHz on-board SPC, which may have some quirk.
Problem reported by Yasushi Oshima.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Nov 2 11:07:45 2003 UTC (21 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Fix some typos. From Tom Cosgrove via jmc@openbsd.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Sep 7 05:26:30 2003 UTC (21 years, 3 months ago) by isaki
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -14 lines
Delete strange ifdef x68k.
Requested by tsutsui@

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Aug 29 02:45:57 2003 UTC (21 years, 3 months ago) by isaki
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -4 lines
Delete unnecessary #ifndef for x68k.
approved by tsutsui@

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Aug 1 00:38:38 2003 UTC (21 years, 4 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +42 -4 lines
- Add hooks for MD DMA transfers.
- Prepare ADAPTER_REQ_SET_XFER_MODE function.
  (currently sync xfer is not supported)

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jul 27 03:51:28 2003 UTC (21 years, 4 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +63 -18 lines
There is a report that x68k SCSI no longer works after the previous changes.
It seems x68k SPC SCSI has several hardware quirks, so add some (a bit ugly)
#ifdefs for workaround.  (XXX - needs revisiting)

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Jul 5 19:50:17 2003 UTC (21 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +61 -90 lines
More misc fixes for forthcoming hp300 MI SCSI support:
 - Don't use SCMD_XFR command in message-in phase and status phase.
   It causes unexpected hangs on heavy load. Instead transfer data
   manually via TEMP register by SCMD_SET_ACK and SCMD_RST_ACK.
 - Don't set SCMD_ICPT_XFR in spc_dataout_pio() and spc_msgout().
 - Rewrite spc_datain_pio() to handle FIFO more properly.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Jul 5 19:31:11 2003 UTC (21 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +23 -31 lines
Misc cleanup:
 - disable debug code by default
 - use MI minphys()
 - add proper delay in spc_find()
 - initialize TMOD register in spc_reset()
 - wrap a sanity check with #ifdef DIAGNOSTIC (sync with aic6360.c)
 - no need to set LUN bits in SCSI command which should be done in mid-layer
 - set proper resid even in error case
 - fix/remove some bogus comments

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Jul 5 19:04:48 2003 UTC (21 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -8 lines
Use bus_space_{read,write}_multi_1() for PIO data transfers.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jul 5 19:00:16 2003 UTC (21 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +7 -7 lines
Rename some MI mb89352 functions for consistency:
 spcintr() -> spc_intr()
 spcattach() -> spc_attach()

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jul 5 18:56:55 2003 UTC (21 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +14 -22 lines
Some cosmetics:
 - Remove useless macro.
 - Remove ^L characters.
 - KNF a comment.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon May 19 14:56:03 2003 UTC (21 years, 6 months ago) by tsutsui
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +100 -73 lines
Misc cosmetics:
- some KNF and wrap long lines
- use TAILQ macro
- replace some magic numbers with macro
- use #if 0/#endif pair to disable code

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Feb 21 17:14:07 2003 UTC (21 years, 9 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
hz -> Hz

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:46:42 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +4 -4 lines
catch up with -current on kqueue branch

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 20 16:33:14 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +3 -2 lines
catch up with -current.

Revision 1.5.6.6: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:44:54 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.5.6.5: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.6.5: +3 -2 lines
Catch up to -current.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu May 30 21:10:36 2002 UTC (22 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -2 lines
Statements must follow labels.

Revision 1.5.6.5: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:48 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.6.4: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.4: +3 -4 lines
Catch up to -current.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Apr 5 18:27:52 2002 UTC (22 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -4 lines
Implement mstohz() as discussed on tech-kern, and use it in SCSI drivers
to convert xs->timeout to callout() parameter.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:54:49 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +13 -15 lines
Sync kqueue branch with -current.

Revision 1.5.6.4: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:29:57 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.6.3: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.3: +2 -3 lines
Catch up to -current.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Nov 15 09:48:06 2001 UTC (23 years ago) by lukem
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -3 lines
don't need <sys/types.h> when including <sys/param.h>

Revision 1.5.6.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:14:29 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.6.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.2: +13 -14 lines
Catch up to -current.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Nov 13 13:14:41 2001 UTC (23 years ago) by lukem
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -7 lines
add/cleanup RCSID

Revision 1.8.6.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:18:03 2001 UTC (23 years, 1 month ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +4 -8 lines
Sync the thorpej-mips-cache branch with -current.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Nov 4 12:05:42 2001 UTC (23 years, 1 month ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -8 lines
Use common macro to check message length.

Revision 1.5.6.2: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:09:29 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.6.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.1: +4 -4 lines
Catch up with -current.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Jul 7 16:13:49 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, kqueue
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
bzero -> memset

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jul 7 15:53:19 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
bcopy -> memcpy

Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:02:52 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +128 -185 lines
Catch up to -current.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Apr 25 17:53:33 2001 UTC (23 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +128 -185 lines
Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
  ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
  to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
  peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
  recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
  scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
  (no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
  set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
  the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
  will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge

Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Tue Mar 27 13:08:12 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.2: +124 -168 lines
Convert these drivers to thorpej_scsipi (untested).

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:40:44 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +7 -5 lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:01:31 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: nathanw_sa
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -5 lines
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 23:20:53 1999 UTC (25 years, 1 month ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -19 lines
Don't sleep waiting for a CCB; if we get to the CCB allocation phase, we're
guaranteed to have one.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Sep 30 23:04:41 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +10 -10 lines
Update for SCSPI changes.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Mar 14 16:14:54 1999 UTC (25 years, 9 months ago) by minoura
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +40 -17 lines
Some x68k conditionals (I don't know why these are needed...).

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Feb 19 16:19:53 1999 UTC (25 years, 9 months ago) by minoura
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +17 -16 lines
Translated Japanese comments.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Feb 13 17:33:14 1999 UTC (25 years, 9 months ago) by minoura
Branches: MAIN
MI version of the Fujitsu MB89352 SCSI Protocol Controler (SPC) driver.
Based on experimental NetBSD/pc98 ISA/PISA version, which was derived
from the MD /sys/arch/x68k/dev/spc.c.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>