The NetBSD Project

CVS log for src/sys/dev/pci/ahd_pci.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat May 28 10:36:23 2022 UTC (2 years, 6 months ago) by andvar
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, 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, HEAD
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
fix various typos, mainly in comments.

Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:26 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.37.2.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.1: +4 -14 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Nov 10 21:16:36 2019 UTC (5 years ago) by chs
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, 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
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -14 lines
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

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

Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:49 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.1: +4 -3 lines
Sync with HEAD, resolve a few conflicts

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Dec 9 11:14:01 2018 UTC (5 years, 11 months ago) by jdolecek
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -3 lines
use pci_intr_establish_xname() everywhere

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:51 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Sync with HEAD

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Jun 23 06:45:51 2018 UTC (6 years, 5 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
constify

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jan 15 12:43:42 2018 UTC (6 years, 10 months ago) by maya
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -6 lines
malloc+memset zero to malloc(, |M_ZERO);

ok rkujawa

Revision 1.33.6.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:41 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.33.6.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.6.1: +2 -1 lines
Rebase to HEAD as of a few days ago.

Revision 1.32.8.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:24 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.32.8.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.8.1: +6 -5 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.34.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:39 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +4 -3 lines
sync with head

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Mar 29 19:28:24 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base-20171202, 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, 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, nick-nhusb, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -3 lines
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.33.6.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:18 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4 lines
resync from head

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Apr 21 19:59:40 2013 UTC (11 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4 lines
Delete "PCI_" from PCIX and PICE capability registers.

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

Revision 1.32.12.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:34 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +9 -2 lines
merge to -current.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Dec 30 18:20:46 2011 UTC (12 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, 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, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +9 -2 lines
PR/45760: Henning Petersen: Add Adaptec29329LPE to ahd_pci.c

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

Revision 1.31.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:31 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +6 -9 lines
sync with head

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:29 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +6 -9 lines
Sync with HEAD.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Apr 21 21:38:47 2010 UTC (14 years, 7 months ago) by dyoung
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, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -9 lines
Don't printf bus_space_tag_t's in a MI driver.

Revision 1.27.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:42 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.27.4.2: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.4.2: +4 -3 lines
sync with head

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Sep 26 14:44:11 2009 UTC (15 years, 2 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -3 lines
Split device_t/softc. Tested on aic7901A.

Revision 1.27.4.2: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:50 2009 UTC (15 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.27.4.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.4.1: +17 -12 lines
sync with head

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Sep 5 12:59:24 2009 UTC (15 years, 3 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base8
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -5 lines
Use device_t self arg to get a device name rather than through &ahd->sc_dev
which needs to be changed on future device_t/softc split.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Sep 5 12:55:05 2009 UTC (15 years, 3 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +14 -9 lines
Wrap long lines.

Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:32 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
sync with head

Revision 1.27.18.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:20:23 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +3 -3 lines
Sync with HEAD.

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

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed May 6 09:25:14 2009 UTC (15 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-base
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.25.48.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:48 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +10 -12 lines
Sync with HEAD.

Revision 1.19.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:50 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.19.2.2: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.2: +10 -12 lines
sync with head.

Revision 1.25.44.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:47 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +10 -12 lines
sync with head.

Revision 1.25.24.1: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:44 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +10 -12 lines
sync with HEAD

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Mar 21 08:17:30 2008 UTC (16 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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-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, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, jym-xensuspend
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +6 -7 lines
Use aprint_*_dev(), and device_xname().  Constify a bit.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Mar 21 07:47:43 2008 UTC (16 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -7 lines
pci_activate() expects for its void * argument to be a device_t,
so change the type of the argument to device_t.  Update each use
of pci_activate().

Use device_t and accessors.  Use aprint_*_dev().

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

Revision 1.23.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:41 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.23.6.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.6.1: +5 -5 lines
sync with head.

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

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:08 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-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, nick-net80211-sync-base, nick-net80211-sync, 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, mjf-devfs-base, mjf-devfs, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: mjf-devfs2, matt-armv6, keiichi-mipv6
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +5 -5 lines
__unused removal on arguments; approved by core.

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

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

Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:52:16 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +13 -24 lines
sync with head

Revision 1.22.6.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:26 2006 UTC (18 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +9 -20 lines
Merge from HEAD.

Revision 1.21.8.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:51:21 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.21.8.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.8.1: +9 -20 lines
sync with head.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:05:03 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +14 -25 lines
sync with head.

Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:01:35 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +9 -20 lines
Sync with head.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Jun 17 23:34:26 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, rpaulo-netinet-merge-pcb-base, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +9 -20 lines
re-factor the pci powestate api. reviewed by gimpy

Revision 1.21.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:13 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +6 -6 lines
Sync with head.

Revision 1.21.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:25:33 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +6 -6 lines
sync with head.

Revision 1.21.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:07:26 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -6 lines
sync with head.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Mar 8 23:46:27 2006 UTC (18 years, 9 months ago) by lukem
Branches: MAIN
CVS tags: yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, simonb-timecounters-base, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base
Branch point for: gdamore-uart, chap-midi
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -6 lines
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:27:42 2005 UTC (18 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, elad-kernelauth
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:22:48 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
merge ktrace-lwp.

Revision 1.2.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:06:00 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.2.5: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.5: +41 -62 lines
Sync with HEAD. Here we go again...

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jun 28 00:28:41 2005 UTC (19 years, 5 months ago) by thorpej
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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +19 -24 lines
Use ANSI function decls and static.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon May 30 04:35:22 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +9 -9 lines
- const poisoning
- avoid variable shadowing.

Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Fri May 13 18:36:28 2005 UTC (19 years, 6 months ago) by riz
Branches: netbsd-2
CVS tags: 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
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +17 -33 lines
Pull up revisions 1.16, 1.17 (requested by bad in ticket #1480):
Bring in some changes from rev. 1.17 of FreeBSD aic79xx_pci.c:
Fix the *_IROC_* masks so that the correct bits get masked out for the HostRaid
features.
The 29320 and 29320B really are 7902 based, not 7901A based.  Use the approriate
chip setup routine.
Recognise generic 7901 based boards by matching against ID_9005_GENERIC_MASK.

Recognise the Dell OEM version of the ASR-29320B as found in recent
e.g. Dell SC1420 boxen.  This adapter can't be put out of HostRaid mode,
so recognise it in that mode regardless.

Revision 1.13.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:05 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +34 -50 lines
sync with -current

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Thu Apr 28 10:57:24 2005 UTC (19 years, 7 months ago) by tron
Branches: netbsd-3
CVS tags: 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
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +9 -2 lines
Pull up revision 1.17 (requested by bad in ticket #204):
Recognise the Dell OEM version of the ASR-29320B as found in recent
e.g. Dell SC1420 boxen.  This adapter can't be put out of HostRaid mode,
so recognise it in that mode regardless.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 28 10:55:48 2005 UTC (19 years, 7 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +10 -33 lines
Pull up revision 1.16 (requested by bad in ticket #204):
Bring in some changes from rev. 1.17 of FreeBSD aic79xx_pci.c:
Fix the *_IROC_* masks so that the correct bits get masked out for the HostRaid
features.
The 29320 and 29320B really are 7902 based, not 7901A based.  Use the approriate
chip setup routine.
Recognise generic 7901 based boards by matching against ID_9005_GENERIC_MASK.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Apr 25 22:50:28 2005 UTC (19 years, 7 months ago) by bad
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +7 -0 lines
Recognise the Dell OEM version of the ASR-29320B as found in recent
e.g. Dell SC1420 boxen.  This adapter can't be put out of HostRaid mode,
so recognise it in that mode regardless.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Apr 25 22:44:47 2005 UTC (19 years, 7 months ago) by bad
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +10 -33 lines
Bring in some changes from rev. 1.17 of FreeBSD aic79xx_pci.c:
Fix the *_IROC_* masks so that the correct bits get masked out for the HostRaid
features.
The 29320 and 29320B really are 7902 based, not 7901A based.  Use the approriate
chip setup routine.
Recognise generic 7901 based boards by matching against ID_9005_GENERIC_MASK.

Revision 1.13.10.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:10 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.13.10.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.10.1: +17 -17 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:45:15 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.2.4: preferred, colored
Changes since revision 1.2.2.4: +17 -17 lines
Sync with HEAD.

Hi Perry!

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:32 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +17 -17 lines
nuke trailing whitespace

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

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:46:37 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.2.3: preferred, colored
Changes since revision 1.2.2.3: +4 -4 lines
Sync with HEAD.

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

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

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

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:49:06 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +298 -106 lines
Sync with HEAD

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Feb 24 15:22:01 2004 UTC (20 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: yamt-km-base, netbsd-2-base, 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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, netbsd-2, kent-audio2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4 lines
parameter with two es. From Peter Postma.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Nov 18 21:40:13 2003 UTC (21 years ago) by briggs
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +18 -17 lines
Use aprint_* instead of printf.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Oct 10 15:20:30 2003 UTC (21 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +8 -3 lines
Add a missing chip reset in attach. Makes things work for an on-board
7902B on a SuperMicro board.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Oct 10 12:58:38 2003 UTC (21 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +98 -2 lines
Set some termination defaults correctly. Test register access like
in the original FreeBSD driver.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Oct 10 05:57:26 2003 UTC (21 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +39 -34 lines
Fix some errors in device mapping and errata work-arounds, and generally
clean up mapping code.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Oct 9 14:26:54 2003 UTC (21 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -6 lines
Don't treat a 66-100Mhz PCI-X bus as plain PCI. From yamt (the code was
already like this in the FreeBSD driver).

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Sep 2 20:59:51 2003 UTC (21 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +31 -25 lines
Make this less chatty on probe/attach, to match the output of other controllers.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Aug 29 04:17:39 2003 UTC (21 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +26 -19 lines
Apply the following change from 06/28/2003 04:39:49 by gibbs to the
FreeBSD ahd driver:

aic79xx.h:
        Add a 7901A specific feature definition.

aic79xx_pci.c:
        Split out the general aic790X setup into it's own
        setup handler that works on single and dual controllers.
        Adjust all other PCI setup handlers to initialize the
        chips basic features and type before calling the generic
        handler.

        Turn off a few Rev B workarounds that are not required
        on the 7901B.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Aug 29 02:59:20 2003 UTC (21 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +60 -15 lines
Apply the following change from 5/26/2003 21:15:52 made by gibbs to the
FreeBSD ahd driver:

Add 7901B support.

Sort IDs based on chip type.

Remove IROC IDs.  We'll switch to using the IROC masks
if/when we want to start attaching to IROC controllers.

Approved by: RE

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Aug 29 00:09:59 2003 UTC (21 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +38 -13 lines
Apply the following change checked in 2003/05/04 00:20:07 by gibbs
to the FreeBSD ahd driver:

Correct spelling errors.

Switch to handling bad SCSI status as a sequencer interrupt
instead of having the kernel proccess these failures via
the completion queue.  This is done because:

 o The old scheme required us to pause the sequencer and clear
   critical sections for each SCB.  It seems that these pause
   actions, if coincident with a sequencer FIFO interrupt, would
   result in a FIFO interrupt getting lost or directing to the
   wrong FIFO.  This caused hangs when the driver was stressed
   under high "queue full" loads.
 o The completion code assumed that it was always called with
   the sequencer running.  This may not be the case in timeout
   processing where completions occur manually via
   ahd_pause_and_flushwork().
 o With this scheme, the extra expense of clearing critical
   sections is avoided since the sequencer will only self pause
   once all pending selections have cleared and it is not in
   a critical section.

  aic79xx.c
        Add code to handle the new BAD_SCB_STATUS sequencer
        interrupt code.  This just redirects the SCB through
        the already existing ahd_complete_scb() code path.
        Remove code in ahd_handle_scsi_status() that paused
        the sequencer, made sure that no selections where
        pending, and cleared critical sections.  Bad
        status SCBs are now only processed when all of these
        conditions are true.

  aic79xx.reg:
        Add the BAD_SCB_STATUS sequencer interrupt code.

  aic79xx.seq:
        When completing an SCB upload to the host, if
        we are doing this because the SCB contains non-zero
        SCSI status, defer completing the SCB until there
        are no pending selection events.  When completing
        these SCBs, use the new BAD_SCB_STATUS sequencer
        interrupt.  For all other uploaded SCBs (currently
        only for underruns), the SCB is completed via the
        normal done queue.  Additionally, keep the SCB that
        is currently being uploaded on the COMPLETE_DMA_SCB
        list until the dma is completed, not just until the
        DMA is started.  This ensures that the DMA is restarted
        properly should the host disable the DMA transfer for
        some reason.

        In our RevA workaround for Maxtor drives, guard against
        the host pausing us while trying to pause I/O until the
        first data-valid REQ by clearing the current snapshot
        so that we can tell if the transfer has completed prior
        to us noticing the REQINIT status.

        In cfg4data_intr, shave off an instruction before getting
        the data path running by adding an entrypoint to the
        overrun handler to also increment the FIFO use count.

        In the overrun handler, be sure to clear our LONGJMP
        address in both exit paths.

Perform a few sequencer optimizations.

  aic79xx.c:
        Print the full path from the SCB when a packetized
        status overrun occurs.

        Remove references to LONGJMP_SCB which is being
        removed from firmware usage.

        Print the new SCB_FIFO_USE_COUNT field in the
        per-SCB section of ahd_dump_card_state().  The
        SCB_TAG field is now re-used by the sequencer,
        so it no longer makes sense to reference this
        field in the kernel driver.

  aic79xx.h:
        Re-arrange fields in the hardware SCB from largest
        size type to smallest.  This makes it easier to
        move fields without changing field alignment.

        The hardware scb tag field is now down near the
        "spare" portion of the SCB to facilitate reuse
        by the sequencer.

  aic79xx.reg:
        Remove LONGJMP_ADDR.

        Rearrange SCB fields to match aic79xx.h.
        Add SCB_FIFO_USE_COUNT as the first byte
        of the SCB_TAG field.

  aic79xx.seq:
        Add a per-SCB "Fifos in use count" field and use
        it to determine when it is safe (all data posted)
        to deliver status back to the host.  The old method
        involved polling one or both FIFOs to verify that
        the current task did not have pending data.  This
        makes running down the GSFIFO very cheap, so we
        will empty the GSFIFO in one idle loop pass in
        all cases.

        Use this simplification of the completion process
        to prune down the data FIFO teardown sequencer for
        packetized transfers.  Much more code is now shared
        between the data residual and transfer complete cases.

        Correct some issues in the packetized status handler.
        It used to be possible to CLRCHN our FIFO before status
        had fully transferred to the host.  We also failed to
        handle NONPACKREQ phases that could occur should a CRC
        error occur during transmission of the status data packet.

Correct a few big endian issues:

  aic79xx.c:
  aic79xx_inline.h:
  aic79xx_pci.c:
  aic79xx_osm.c:
        o Always get the SCB's tag via the SCB_GET_TAG acccessor
        o Add missing use of byte swapping macros when touching
          hscb fields.
        o Don't double swap SEEPROM data when it is printed.
          Correct a big-endian bug.  We cannot assign a
        o When assigning a 32bit LE variable to a 64bit LE
          variable, we must be explict about how the words
          of the 64bit LE variable are initialized.  Cast to
          (uint32_t*) to do this.

aic79xx.c:
        In ahd_clear_critical_section(), hit CRLSCSIINT
        after restoring the interrupt masks to avoid what
        appears to be a glitch on SCSIINT.  Any real SCSIINT
        status will be persistent and will immidiately
        reset SCSIINT.  This clear should only get rid of
        spurious SCSIINTs.

        This glitch was the cause of the "Unexpected PKT busfree"
        status that occurred under high queue full loads

        Call ahd_fini_scbdata() after shutdown so that
        any ahd_chip_init() routine that might access
        SCB data will not access free'd memory.

        Reset the bus on an IOERR since the chip doesn't
        seem to reset to the new voltage level without
        this.
        Change offset calculation for scatter gather maps
        so that the calculation is correct if an integral
        multiple of sg lists does not fit in the allocation
        size.

        Adjust bus dma tag for data buffers based on 39BIT
        addressing flag in our softc.

        Use the QFREEZE count to simplify ahd_pause_and_flushworkd().
        We can thus rely on the sequencer eventually clearing ENSELO.

        In ahd_abort_scbs(), fix a bug that could potentially
        corrupt sequencer state.  The saved SCB was being
        restored in the SCSI mode instead of the saved mode.
        It turns out that the SCB did not need to be saved at all
        as the scbptr is already restored by all subroutines
        called during this function that modify that register.

aic79xx.c:
aic79xx.h:
aic79xx_pci.c:
        Add support for parsing the seeprom vital product
        data.  The VPD data are currently unused.

aic79xx.h:
aic79xx.seq:
aic79xx_pci.c:
        Add a firmware workaround to make the LED blink
        brighter during packetized operations on the H2A.

aic79xx_inline.h:
        The host does not use timer interrupts, so don't
        gate our decision on whether or not to unpause
        the sequencer on whether or not a timer interrupt
        is pending.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jul 14 15:47:23 2003 UTC (21 years, 4 months ago) by lukem
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -1 lines
add missing __KERNEL_RCSID()

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed May 14 12:57:46 2003 UTC (21 years, 6 months ago) by wiz
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -6 lines
Correct spelling of coalesce. (Will forward to Justin Gibbs.)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Apr 21 00:14:52 2003 UTC (21 years, 7 months ago) by fvdl
Branches: MAIN
ahd, driver for Adaptec 790x U320 controllers. Originally by Justin Gibbs
for FreeBSD, ported to NetBSD by Pascal Renauld, Network Storage Solutions,
Inc, plus a bunch of changes by me.

This driver is as yet untested in this final form, it will be added
to config files when it has been tested.

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>