The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Sep 25 18:43:32 2022 UTC (4 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, 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, HEAD
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -3 lines
Remove unnecessary include of <sys/malloc.h>.

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

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

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:55 2021 UTC (5 years, 6 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.50: preferred, colored
Changes since revision 1.50: +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.50.10.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:09:12 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +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.47.18.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:21 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.47.18.2: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.18.2: +1 -1 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.47.18.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:05 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.47.18.1: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.18.1: +2 -9 lines
Merge changes from current as of 20200406

Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Wed Dec 18 20:04:33 2019 UTC (6 years, 10 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +2 -9 lines
Pull up following revision(s) (requested by tsutsui in ticket #570):

	sys/compat/netbsd32/netbsd32_compat_50_sysv.c: revision 1.3
	sys/dev/raidframe/rf_compat50.h: revision 1.6
	sys/arch/emips/emips/bus_space.c: revision 1.3
	sys/compat/net/if.h: revision 1.5
	sys/arch/emips/stand/common/bootinfo.c: revision 1.2
	sys/compat/common/sysv_msg_50.c: revision 1.5
	sys/compat/common/kern_time_30.c: revision 1.8
	sys/arch/emips/stand/common/bootinfo.h: revision 1.2
	sys/arch/ia64/include/bus.h: revision 1.4
	sys/arch/ia64/ia64/bus_space.c: revision 1.2
	sys/compat/common/sysv_shm_50.c: revision 1.5
	sys/dev/ic/adw.h: revision 1.15
	sys/compat/common/uipc_syscalls_50.c: revision 1.10
	sys/arch/emips/ebus/flash_ebus.c: revision 1.22
	sys/dev/ic/adv.h: revision 1.15
	sys/dev/ic/adwmcode.c: revision 1.18
	sys/dev/ic/advlib.c: revision 1.29
	sys/arch/hpcarm/include/kloader.h: revision 1.3
	sys/dev/usb/uberry.c: revision 1.16
	sys/compat/common/sysv_sem_50.c: revision 1.5
	sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.43
	sys/dev/ic/advlib.h: revision 1.21
	sys/dev/ic/adv.c: revision 1.50
	sys/compat/netinet6/in6_var.h: revision 1.5
	sys/arch/hpc/stand/hpcboot/arm/arm_sa1100_asm.asm: revision 1.2
	sys/arch/emips/include/loadfile_machdep.h: revision 1.3
	sys/arch/emips/stand/common/prom_iface.c: revision 1.7
	sys/dev/ic/adw.c: revision 1.56
	sys/dev/ic/adwmcode.h: revision 1.12
	sys/dev/ic/advmcode.c: revision 1.10
	sys/arch/emips/ebus/ace_ebus.c: revision 1.22
	sys/compat/netbsd32/netbsd32_compat_60.c: revision 1.5
	sys/dev/raidframe/rf_compat50.c: revision 1.13
	sys/arch/x68k/dev/intiovar.h: revision 1.15
	sys/dev/usb/uipad.c: revision 1.8
	sys/arch/zaurus/include/kloader.h: revision 1.3
	sys/arch/emips/stand/common/bootxx.c: revision 1.2
	sys/dev/ic/adwlib.h: revision 1.23
	sys/dev/ic/adwlib.c: revision 1.44
	sys/compat/netbsd32/netbsd32_compat_16.c: revision 1.3
	sys/arch/amigappc/include/intr.h: revision 1.27
	sys/arch/x68k/dev/mfp.c: revision 1.27
	sys/arch/arm/at91/at91dbgu.c: revision 1.17
	sys/dev/ic/advmcode.h: revision 1.7
	sys/compat/ultrix/ultrix_exec.h: revision 1.7
	sys/compat/common/vfs_syscalls_50.c: revision 1.24
	sys/arch/mips/cavium/octeon_dma.c: revision 1.3
	sys/arch/hpc/stand/hpcboot/arm/arm_pxa2x0_asm.asm: revision 1.2

Remove clause 3 and 4 from TNF licenses.
Ok'ed by martin@ in PR/54760.

Remove clause 3 and 4 leftovers from TNF licenses in more sources.
Confirmed by martin@ in PR/54760.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Dec 15 16:48:27 2019 UTC (6 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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-cfargs
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -9 lines
Remove clause 3 and 4 leftovers from TNF licenses in more sources.

Confirmed by martin@ in PR/54760.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Oct 6 00:48:19 2019 UTC (7 years, 1 month ago) by uwe
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3 lines
Get rid of bogus ASC_CALLBACK typedef.  Use the real callback type
(which is almost ASC_ISR_CALLBACK).  Since we no longer need the
casting dance we can get rid of the temporary variables, and since we
don't need the temporary variables we don't need the ASC_ISR_CALLBACK
typedef either.  Found by gcc8 -Wcast-function-type.

Revision 1.47.18.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:10 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +10 -2 lines
Sync with HEAD

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

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

Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Aug 29 16:51:51 2018 UTC (8 years, 2 months ago) by rin
Branches: MAIN
CVS tags: 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-0-RC1, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +10 -2 lines
Note added for a strange value of residual counts in successful read/write.
Seems like a H/W bug. The best thing we can do would be to leave the code as is.

No binary changes.

Revision 1.45.18.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:02 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.45.18.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.18.1: +25 -24 lines
update from HEAD

Revision 1.46.14.1: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:41 2016 UTC (10 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +25 -24 lines
Sync with HEAD

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Jul 14 04:19:26 2016 UTC (10 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +25 -24 lines
KNF. No functional change.

Revision 1.45.18.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:02 2012 UTC (13 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +24 -24 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.45.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:59 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +24 -24 lines
sync with head

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Oct 27 17:18:18 2012 UTC (14 years ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, khorben-n900, agc-symver-base, agc-symver
Branch point for: nick-nhusb
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +24 -24 lines
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:11 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +2 -4 lines
sync with head

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Nov 13 13:52:00 2010 UTC (16 years ago) by uebayasi
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, 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, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, 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, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -4 lines
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.

Revision 1.42.4.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:27 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
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: +2 -3 lines
sync with head

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

Revision 1.42.18.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:21 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +22 -54 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:39 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +22 -54 lines
sync with head.

Revision 1.42.12.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:25 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +22 -54 lines
Sync with HEAD.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Mar 14 15:36:17 2009 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +22 -54 lines
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.41.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:17 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +28 -30 lines
Sync with HEAD.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Apr 8 12:07:25 2008 UTC (18 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, 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, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, jym-xensuspend
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +28 -30 lines
use aprint_*_dev and device_xname

Revision 1.40.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:26:15 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -4 lines
sync with HEAD

Revision 1.36.4.3: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:30:25 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.4.2: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.4.2: +4 -4 lines
sync with head.

Revision 1.40.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:33 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +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.40.12.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:27 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -4 lines
Sync with HEAD.

Revision 1.39.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:07:10 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.39.2.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.2.1: +4 -4 lines
Sync with head.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Oct 19 11:59:45 2007 UTC (19 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.40: preferred, colored
Changes since revision 1.40: +4 -4 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.36.4.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:34:11 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.4.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.4.1: +5 -5 lines
sync with head.

Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:05:37 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +3 -3 lines
Sync with head.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:00:33 2007 UTC (19 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:47:45 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
Adapt to callout API change.

Revision 1.38.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:24 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +4 -4 lines
Sync with HEAD.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:48 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -4 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:01 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
sync with head.

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

Revision 1.37.8.1: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:56 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +3 -3 lines
sync with head.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Aug 17 17:11:27 2006 UTC (20 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, 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, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:21:25 2005 UTC (20 years, 11 months ago) by christos
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.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
merge ktrace-lwp.

Revision 1.33.10.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:47 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +49 -49 lines
sync with -current

Revision 1.33.12.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:00 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.33.12.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.12.1: +30 -30 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.33.2.2: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:41:23 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.33.2.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.2.1: +30 -30 lines
Sync with HEAD.

Hi Perry!

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:00 2005 UTC (21 years, 8 months ago) by perry
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, 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
Branch point for: yamt-lazymbuf
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +28 -28 lines
nuke trailing whitespace

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Feb 21 00:29:07 2005 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -4 lines
Part 1 of a cleanup pass over the SCSI subsystem.  The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding.  Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes.  Place items described
by the SCSI Primary Commands document into scsi_spc.h.

Revision 1.33.12.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:43 2005 UTC (21 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +21 -21 lines
sync with head.

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:45:23 2005 UTC (21 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +21 -21 lines
Sync with HEAD.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Feb 4 02:10:36 2005 UTC (21 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +21 -21 lines
de-__P

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat May 3 18:11:11 2003 UTC (23 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: yamt-km-base, 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-base, 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-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, ktrace-lwp, kent-audio2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -4 lines
DMA, not dma nor Dma.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Jan 31 00:26:26 2003 UTC (23 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +20 -19 lines
Use aprint_*().

Revision 1.27.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:46:08 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.27.2.2: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.2: +3 -4 lines
catch up with -current on kqueue branch

Revision 1.20.2.6: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:29 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.20.2.5: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.5: +3 -4 lines
Catch up to -current.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Apr 5 18:27:49 2002 UTC (24 years, 7 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, 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, gehenna-devsw, fvdl_fs64_base
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +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.27.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:54:03 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.27.2.1: preferred, colored
Changes since revision 1.27.2.1: +4 -2 lines
Sync kqueue branch with -current.

Revision 1.20.2.5: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:29:28 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.20.2.4: preferred, colored
Changes since revision 1.20.2.4: +2 -3 lines
Catch up to -current.

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

Revision 1.20.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:14:11 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.20.2.3: preferred, colored
Changes since revision 1.20.2.3: +4 -1 lines
Catch up to -current.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Nov 13 13:14:32 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -1 lines
add/cleanup RCSID

Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:09:11 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.20.2.2: preferred, colored
Changes since revision 1.20.2.2: +8 -4 lines
Catch up with -current.

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:12:53 2001 UTC (25 years, 3 months ago) by lukem
Branches: kqueue
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +7 -3 lines
update to -current

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Jul 19 16:25:23 2001 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +7 -3 lines
Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Jul 7 16:13:44 2001 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
bzero -> memset

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:01:52 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.20.2.1: preferred, colored
Changes since revision 1.20.2.1: +283 -321 lines
Catch up to -current.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jun 9 18:08:20 2001 UTC (25 years, 5 months ago) by briggs
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
If the adapter is returning a selection timeout, then we should be
returning XS_SELTIMEOUT, not XS_TIMEOUT.  Pointed out by Andrew Doran.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Jun 9 17:18:21 2001 UTC (25 years, 5 months ago) by briggs
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +5 -1 lines
Patches from takashi.yamamoto@bigfoot.com in kern/13139.
- Set XS_TIMEOUT on a selection timeout condition.
- Do not bother to call AscStartChip() in AscResetChipAndScsiBus()--
  just clear the chip status.
- Make sure address is word-aligned in AscWriteLramByte().

Tested on my adv (AdvanSys ABP-9xxUA) with CRW8424S and UMAX SuperVista S-12.
Earlier versions of the system would get stuck trying to recover from error
conditions when the CD-RW drive was in heavy use.  I have not seen that
behavior with these small patches.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Apr 25 17:53:28 2001 UTC (25 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +279 -321 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.14.2.9: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:48:23 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.14.2.8: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.8: +2 -2 lines
Sync with HEAD

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:56:03 2001 UTC (25 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +47 -16 lines
Catch up with -current.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Mar 27 17:24:03 2001 UTC (25 years, 7 months ago) by bouyer
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Cast to u_int64_t when computing callout argument, to avoid int overflow.
Fixes kern/12471.

Revision 1.14.2.8: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:30:11 2001 UTC (25 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.14.2.7: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.7: +54 -13 lines
Sync with HEAD.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Mar 8 06:49:49 2001 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +38 -9 lines
Preliminary support for detaching an "adv" instance.  This
could use some more work.

Derived from kern/12341, takashi.yamamoto@bigfoot.com.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Mar 7 23:07:12 2001 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -7 lines
Add BUS_DMA_STREAMING to data transfer maps.

Revision 1.14.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 15 09:27:42 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.14.2.6: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.6: +0 -1 lines
req_sense_length is dead.

Revision 1.14.2.6: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:03:09 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.14.2.5: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.5: +3 -2 lines
Sync with HEAD.

Revision 1.14.2.5: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:40:04 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.14.2.4: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.4: +232 -226 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.20: download - view: text, markup, annotated - select for diffs
Tue Nov 14 18:21:00 2000 UTC (26 years ago) by thorpej
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -2 lines
NBPG -> PAGE_SIZE

Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 11 22:24:44 2000 UTC (26 years, 3 months ago) by tls
Branches: netbsd-1-5
CVS tags: 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
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +5 -2 lines
Pull up tagged queueing policy changes: now we use ordered tags for sync writes, simple tags for reads and async writes.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Aug 11 21:31:19 2000 UTC (26 years, 3 months ago) by tls
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -2 lines
Make our policy WRT tagged queueing consistent and sane: ordered tags for sync writes, simple tags for all else.  Should make ahc and adv a bit more reliable (metadata writes won't get reordered incorrectly...) and isp a bit more performant (it was using ordered tags all the time).

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jun 28 17:12:48 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:38:50 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -3 lines
remove redundant vm includes.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:01:28 2000 UTC (26 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +12 -6 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.15: download - view: text, markup, annotated - select for diffs
Sat Feb 12 19:12:52 2000 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -2 lines
If we got an xfer from our backlog queue, don't allow sleeping; we're in
interrupt context.

XXX This is fixed properly in the thorpej_scsipi branch, but that won't
be ready for 1.5, I don't think.

Revision 1.14.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 26 23:10:14 1999 UTC (27 years ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.14.2.3: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.3: +16 -16 lines
Update for:

  Deal a little more gracefully with the fact that xfer mode parameters
  are for the I_T Nexus, and make all xfer mode updates `async events'.

Revision 1.14.2.3: download - view: text, markup, annotated - select for diffs
Wed Oct 20 20:40:51 1999 UTC (27 years, 1 month ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.14.2.2: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.2: +16 -17 lines
Eliminate sleeping from adapter routines.

Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 19 22:53:43 1999 UTC (27 years, 1 month ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.1: +8 -33 lines
Don't sleep waiting for a CCB; if we get to the CCB allocation phase, we're
guaranteed to have one.

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 17:47:28 1999 UTC (27 years, 1 month ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +207 -228 lines
Adapt to scsipi API changes.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Sep 30 23:04:40 1999 UTC (27 years, 1 month 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
Branch point for: thorpej_scsipi
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +13 -13 lines
Update for SCSPI changes.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Aug 7 07:20:15 1999 UTC (27 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +12 -77 lines
Fix a problem uncovered by attempting to compile on the Alpha: overrun_buf
was being initialized to a KVA, when we really wanted a DMA address.  Change
the code to allocate the overrun buffer with the control blocks, and
properly initialize overrun_buf.

Note that overrun_buf cannot actually be shared between all boards; DMA safe
memory could vary from bus to bus.

Garbage-collect two functions which are no longer used because of the
above changes.

Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:17:39 1999 UTC (27 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +7 -10 lines
Sync w/ -current.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jun 6 17:33:18 1999 UTC (27 years, 5 months ago) by dante
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -10 lines
Add support for ISA, EISA and ISApnp cards
Fixed a bus reset bug which shows on arm32

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Mar 4 20:16:56 1999 UTC (27 years, 8 months ago) by dante
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
Branch point for: chs-ubc2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
fix second level interrupt handler to allow 64 bits pointers

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Feb 25 20:21:33 1999 UTC (27 years, 8 months ago) by dante
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +43 -8 lines
Fix AdvanSys Narrow driver to work on Alpha

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Dec 9 08:47:17 1998 UTC (27 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +13 -54 lines
Update for changed scsipi_xfer struct.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Dec 5 19:43:49 1998 UTC (27 years, 11 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
Update HBAs to incorporate the new max_lun property.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Nov 19 21:52:58 1998 UTC (28 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -10 lines
Adapt to the new scsipi_adapter interface.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Oct 28 20:39:45 1998 UTC (28 years ago) by dante
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +32 -1 lines
Add support for macppc.
Very special thanks to Itsumi Tsutsui for his invaluable collaboration.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Oct 10 00:28:32 1998 UTC (28 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -3 lines
Garbage-collect the open_target_lu and close_target_lu entry points from
struct scsipi_adapter; they were not used.

Add a scsipi_ioctl entry point to struct scsipi_adapter.  This will be
used to issue ioctl commands to the host adapters.

Inspired by PR #6090, from Matt Jacob.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Sep 26 16:02:56 1998 UTC (28 years, 1 month ago) by dante
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +92 -111 lines
Remove Wide boards references
Adjust copyright

At this time this driver support the following AdvanSys boards:
- ABP-9xx
- ABP-9xxU
- ABP-9xxUA

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Sep 9 05:28:58 1998 UTC (28 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -1 lines
Protect Debugger() call a'la uha driver.  PR #6070, Gary D. Duzan.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Aug 29 13:45:56 1998 UTC (28 years, 2 months ago) by dante
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -0 lines
Add rcs id

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Aug 26 14:15:11 1998 UTC (28 years, 2 months ago) by dante
Branches: MAIN
Add AdvanSys 930U and 940U SCSI controllers

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>