The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.68 / (download) - annotate - [select for diffs], Mon May 23 19:52:35 2022 UTC (8 months, 2 weeks ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

s/boundries/boundaries/, s/itterate/iterate/ and few more typos.

Revision 1.67 / (download) - annotate - [select for diffs], Sun May 22 11:27:35 2022 UTC (8 months, 2 weeks ago) by andvar
Branch: MAIN
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored)

fix various small typos, mainly in comments.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Apr 16 17:34:34 2022 UTC (9 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

s/strickly/strictly/

Revision 1.65 / (download) - annotate - [select for diffs], Thu Apr 7 19:33:37 2022 UTC (10 months ago) by andvar
Branch: MAIN
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

fix various typos in comments.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Mar 8 20:45:56 2022 UTC (11 months ago) by andvar
Branch: MAIN
Changes since 1.63: +5 -5 lines
Diff to previous 1.63 (colored)

fix few typos in comments.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Dec 5 15:22:37 2021 UTC (14 months ago) by msaitoh
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Fix typo again... s/Expilcitly/Explicitly/

Revision 1.62 / (download) - annotate - [select for diffs], Sun Dec 5 07:44:53 2021 UTC (14 months ago) by msaitoh
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

s/runable/runnable/

Revision 1.61 / (download) - annotate - [select for diffs], Sun Dec 5 07:23:44 2021 UTC (14 months ago) by msaitoh
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

s/programatic/programmatic/ in comment.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Dec 5 02:54:53 2021 UTC (14 months ago) by msaitoh
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

s/explcit/expilcit/ in comment.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Oct 25 07:45:01 2021 UTC (15 months, 1 week ago) by ryo
Branch: MAIN
Changes since 1.58: +5 -5 lines
Diff to previous 1.58 (colored)

fix "error: stack usage might be unbounded [-Werror=stack-usage=]" with COPTS=-O0

Revision 1.58 / (download) - annotate - [select for diffs], Thu Sep 16 22:19:10 2021 UTC (16 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

fix typos in word "successful".

Revision 1.56.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:23 2021 UTC (18 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jul 24 21:31:37 2021 UTC (18 months, 2 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jun 27 17:07:49 2020 UTC (2 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.55: +10 -10 lines
Diff to previous 1.55 (colored)

constify, NFCI

Revision 1.55 / (download) - annotate - [select for diffs], Sat Jun 27 09:28:15 2020 UTC (2 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.54: +5 -5 lines
Diff to previous 1.54 (colored)

small constify

Revision 1.54 / (download) - annotate - [select for diffs], Sat Jun 27 09:03:15 2020 UTC (2 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

mark ahc_loadseq()/ahd_loadseq() as __noinline to avoid 'stack usage
might get unbounded' - seems the variable-length array using const variable
is misinterpreted as unbounded when inlined

Revision 1.50.20.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:21 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.50.20.2: +2 -8 lines
Diff to previous 1.50.20.2 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.50.20.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:05 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.50.20.1: +3 -3 lines
Diff to previous 1.50.20.1 (colored) to branchpoint 1.50 (colored)

Merge changes from current as of 20200406

Revision 1.53 / (download) - annotate - [select for diffs], Fri Dec 27 09:45:26 2019 UTC (3 years, 1 month ago) by msaitoh
Branch: MAIN
CVS Tags: 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
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

s/sucess/success/ in comment.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:35 2019 UTC (3 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.51: +4 -10 lines
Diff to previous 1.51 (colored)

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.50.20.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:10 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.50: +11 -7 lines
Diff to previous 1.50 (colored)

Sync with HEAD

Revision 1.51 / (download) - annotate - [select for diffs], Mon Feb 4 10:09:31 2019 UTC (4 years ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, 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
Changes since 1.50: +11 -7 lines
Diff to previous 1.50 (colored)

add or adjust fallthru comments.

Revision 1.45.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:03 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.45.12.1: +1 -1 lines
Diff to previous 1.45.12.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

update from HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Sat Oct 18 08:33:27 2014 UTC (8 years, 3 months ago) by snj
Branch: 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-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, 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, pgoyette-compat, 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-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-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

Revision 1.45.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:37 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.45: +37 -40 lines
Diff to previous 1.45 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:51 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.47: +18 -21 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Rebase.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:21 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.45: +37 -40 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

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.45.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:37 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.45: +37 -40 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head

Revision 1.49 / (download) - annotate - [select for diffs], Thu Apr 17 18:17:09 2014 UTC (8 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-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
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

put back missing arg

Revision 1.48 / (download) - annotate - [select for diffs], Thu Apr 17 16:04:47 2014 UTC (8 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.47: +18 -21 lines
Diff to previous 1.47 (colored)

CID/1203192, CID/1203193: Out of bounds read

Revision 1.47 / (download) - annotate - [select for diffs], Thu Mar 27 18:28:26 2014 UTC (8 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.46: +19 -14 lines
Diff to previous 1.46 (colored)

cleanup debugging printfs to avoid overflow

Revision 1.46 / (download) - annotate - [select for diffs], Thu Oct 17 21:24:24 2013 UTC (9 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.45: +11 -16 lines
Diff to previous 1.45 (colored)

- remove unused variables
- move variables inside ifdef sections
- ifdef notdef unused code
- use __USE for debugging variables

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jul 2 13:12:44 2011 UTC (11 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

avoid -Wenum-compare issue.

Revision 1.38.4.2 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:47 2009 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38.4.1: +112 -80 lines
Diff to previous 1.38.4.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Thu Sep 3 14:52:22 2009 UTC (13 years, 5 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, 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, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.43: +78 -43 lines
Diff to previous 1.43 (colored)

- wrap long lines
- remove unnecessary casts against void pointers

Revision 1.43 / (download) - annotate - [select for diffs], Wed Sep 2 17:08:12 2009 UTC (13 years, 5 months ago) by tsutsui
Branch: MAIN
Changes since 1.42: +37 -37 lines
Diff to previous 1.42 (colored)

TAB vs space cleanup.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Sep 2 16:38:17 2009 UTC (13 years, 5 months ago) by tsutsui
Branch: MAIN
Changes since 1.41: +2 -5 lines
Diff to previous 1.41 (colored)

Replace shutdownhook_establish(9) with pmf_device_register1(9).
Untested, but mostly copied from ahc(4).

This may fix reboot failure problem on ahd(4) after pmf(9) merge:
http://mail-index.NetBSD.org/current-users/2007/12/10/0008.html
which was also seen on old ahc(4):
http://mail-index.NetBSD.org/port-sgimips/2008/01/05/msg000003.html

Revision 1.38.18.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:21 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.38: +6 -21 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

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

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:40 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38: +6 -21 lines
Diff to previous 1.38 (colored)

sync with head.

Revision 1.38.12.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:25 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.38: +6 -21 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:18 2009 UTC (13 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: 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-base
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

bzero -> memset

Revision 1.40 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:19 2009 UTC (13 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.39: +3 -12 lines
Diff to previous 1.39 (colored)

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:17 2009 UTC (13 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.38: +3 -9 lines
Diff to previous 1.38 (colored)

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.38.10.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:13 2008 UTC (14 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.38: +2 -4 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.37.36.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:39 2008 UTC (14 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.37: +3 -7 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.31.2.4 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:50 2008 UTC (14 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.3: +3 -7 lines
Diff to previous 1.31.2.3 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.37.32.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:16 2008 UTC (14 years, 10 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.37: +3 -7 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

sync with head.

Revision 1.37.16.1 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:37 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.37: +3 -7 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Fri Mar 21 08:17:30 2008 UTC (14 years, 10 months ago) by dyoung
Branch: 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, 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-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, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, jym-xensuspend, haad-dm
Changes since 1.37: +3 -7 lines
Diff to previous 1.37 (colored)

Use aprint_*_dev(), and device_xname().  Constify a bit.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:34:15 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.2: +14 -14 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored)

sync with head.

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:53:25 2007 UTC (15 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.36: +14 -14 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:48 2007 UTC (15 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, 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, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, 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
Branch point for: mjf-devfs2, matt-armv6, keiichi-mipv6
Changes since 1.36: +14 -14 lines
Diff to previous 1.36 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:01 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.1: +7 -4 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored)

sync with head.

Revision 1.34.12.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:04 2006 UTC (16 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.34.12.1: +16 -16 lines
Diff to previous 1.34.12.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

sync with head.

Revision 1.34.10.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:08 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.34: +7 -4 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:50 2006 UTC (16 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, 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, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.35: +16 -16 lines
Diff to previous 1.35 (colored)

__unused removal on arguments; approved by core.

Revision 1.34.12.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:43 2006 UTC (16 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.34: +20 -17 lines
Diff to previous 1.34 (colored)

sync with head

Revision 1.35 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:58 2006 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.34: +20 -17 lines
Diff to previous 1.34 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:50:00 2006 UTC (16 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with head

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:02:52 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31: +31 -39 lines
Diff to previous 1.31 (colored)

sync with head.

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:54 2006 UTC (16 years, 9 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with head.

Revision 1.33.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:24:36 2006 UTC (16 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with head.

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:20 2006 UTC (16 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Mar 8 23:46:24 2006 UTC (16 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Dec 24 20:27:29 2005 UTC (17 years, 1 month ago) by perry
Branch: 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
Changes since 1.32: +9 -9 lines
Diff to previous 1.32 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Fri Dec 16 20:11:40 2005 UTC (17 years, 1 month ago) by jmc
Branch: netbsd-2
Changes since 1.27: +23 -31 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Pullup rev 1.32 (requested by bouyer in ticket #10177)

	Don't call alloc_scb() (which can call bus_dmamem_alloc/map) from
ADAPTER_REQ_RUN_XFER context (which can be interrupt context), defer this
to the ADAPTER_REQ_GROW_RESOURCES callback. Fixes a panic in uvm.

Revision 1.27.6.1 / (download) - annotate - [select for diffs], Fri Dec 16 20:10:05 2005 UTC (17 years, 1 month ago) by jmc
Branch: netbsd-2-1
Changes since 1.27: +23 -31 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Pullup rev 1.32 (requested by bouyer in ticket #10177)

	Don't call alloc_scb() (which can call bus_dmamem_alloc/map) from
ADAPTER_REQ_RUN_XFER context (which can be interrupt context), defer this
to the ADAPTER_REQ_GROW_RESOURCES callback. Fixes a panic in uvm.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Fri Dec 16 20:05:48 2005 UTC (17 years, 1 month ago) by jmc
Branch: netbsd-2-0
Changes since 1.27: +23 -31 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Pullup rev 1.32 (requested by bouyer in ticket #10177)

	Don't call alloc_scb() (which can call bus_dmamem_alloc/map) from
ADAPTER_REQ_RUN_XFER context (which can be interrupt context), defer this
to the ADAPTER_REQ_GROW_RESOURCES callback. Fixes a panic in uvm.

Revision 1.5.2.6 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:50 2005 UTC (17 years, 2 months ago) by christos
Branch: ktrace-lwp
Changes since 1.5.2.5: +23 -31 lines
Diff to previous 1.5.2.5 (colored) next main 1.6 (colored)

Sync with head.

Revision 1.31.8.1 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:08 2005 UTC (17 years, 2 months ago) by yamt
Branch: yamt-readahead
Changes since 1.31: +23 -31 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Tue Nov 29 10:23:14 2005 UTC (17 years, 2 months ago) by tron
Branch: 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-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.30: +23 -31 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1014):
	sys/dev/ic/aic7xxx.c: revision 1.117
	sys/dev/ic/aic79xxvar.h: revision 1.20
	sys/dev/ic/aic79xx_osm.c: revision 1.13
	sys/dev/ic/aic7xxx_inline.h: revision 1.7
	sys/dev/ic/aic79xx.c: revision 1.32
	sys/dev/ic/aic7xxx_osm.c: revision 1.19
	sys/dev/ic/aic7xxxvar.h: revision 1.50
Don't call alloc_scb() (which can call bus_dmamem_alloc/map) from
ADAPTER_REQ_RUN_XFER context (which can be interrupt context), defer this
to the ADAPTER_REQ_GROW_RESOURCES callback.
Fix a panic in uvm reported by John R. Shannon on port-xen; patch tested on
ahc by me and on ahd by John.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Nov 28 21:03:19 2005 UTC (17 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-readahead-base3, ktrace-lwp-base
Changes since 1.31: +23 -31 lines
Diff to previous 1.31 (colored)

Don't call alloc_scb() (which can call bus_dmamem_alloc/map) from
ADAPTER_REQ_RUN_XFER context (which can be interrupt context), defer this
to the ADAPTER_REQ_GROW_RESOURCES callback.
Fix a panic in uvm reported by John R. Shannon on port-xen; patch tested on
ahc by me and on ahd by John.

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:04:13 2005 UTC (17 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.4: +38 -37 lines
Diff to previous 1.5.2.4 (colored)

Sync with HEAD. Here we go again...

Revision 1.31 / (download) - annotate - [select for diffs], Mon May 30 04:43:46 2005 UTC (17 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead, yamt-lazymbuf
Changes since 1.30: +38 -37 lines
Diff to previous 1.30 (colored)

- add missing const
- fix variable shadowing
- remove unneeded casts

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:48 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.28: +65 -68 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with -current

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:34:01 2005 UTC (17 years, 10 months ago) by yamt
Branch: yamt-km
Changes since 1.28: +65 -68 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:41:25 2005 UTC (17 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.3: +65 -68 lines
Diff to previous 1.5.2.3 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.30 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:00 2005 UTC (17 years, 11 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, kent-audio2-base
Branch point for: netbsd-3
Changes since 1.29: +61 -61 lines
Diff to previous 1.29 (colored)

nuke trailing whitespace

Revision 1.29 / (download) - annotate - [select for diffs], Mon Feb 21 00:29:07 2005 UTC (17 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +6 -9 lines
Diff to previous 1.28 (colored)

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.5.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:27:50 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.2: +2 -2 lines
Diff to previous 1.5.2.2 (colored)

Fix the sync with head I botched.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:45:55 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.1: +0 -0 lines
Diff to previous 1.5.2.1 (colored)

Sync with HEAD.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:46:07 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5: +684 -355 lines
Diff to previous 1.5 (colored)

Sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Wed Apr 21 18:03:13 2004 UTC (18 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.27: +10 -6 lines
Diff to previous 1.27 (colored)

avoid unbounded sprintf(), use snprintf()

Revision 1.27 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:21 2004 UTC (18 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-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
Branch point for: netbsd-2-1, netbsd-2-0, netbsd-2
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Nov 2 11:07:44 2003 UTC (19 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.25: +10 -10 lines
Diff to previous 1.25 (colored)

Fix some typos. From Tom Cosgrove via jmc@openbsd.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Oct 10 15:15:44 2003 UTC (19 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.24: +3 -4 lines
Diff to previous 1.24 (colored)

Don't zap the lower 16 bits of the command/status register when clear
error bits.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Oct 10 15:02:08 2003 UTC (19 years, 4 months ago) by briggs
Branch: MAIN
Changes since 1.23: +6 -3 lines
Diff to previous 1.23 (colored)

Properly clear any latched errors before re-enabling SERR/PERR for PCI-X
in ahd_reset().

Revision 1.23 / (download) - annotate - [select for diffs], Tue Sep 30 12:34:16 2003 UTC (19 years, 4 months ago) by briggs
Branch: MAIN
Changes since 1.22: +4 -5 lines
Diff to previous 1.22 (colored)

Make sure that we don't blow away the enables in ahd_reset() on PCI-X.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Sep 2 21:02:56 2003 UTC (19 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.21: +2 -42 lines
Diff to previous 1.21 (colored)

* Make the ahc and ahd probes more alike.
* Remove some redundant code.
* ahd: Don't initiate negotiation for a discovery xs when the negotiation goal
  is set. Just looking at the auto_negotiate mask is enough, and it can
  cause an endless loop if the request gets requeued (happens with a
  of a PPR negotiation, which ends with a busfree).

Revision 1.21 / (download) - annotate - [select for diffs], Fri Aug 29 05:50:42 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +382 -52 lines
Diff to previous 1.20 (colored)

Apply the following change from 06/28/2003 04:46:54 by gibbs to the
FreeBSD ahd driver:

Fix a race condition in the flushing of commands that
have completed across the bus but not to the host before
processing of an exception condition (busfree, bus reset,
etc.).  When flushing the controller of completed commands,
we also look for packetized commands that have completed
with good status and are stored in the "good status fifo".
The hardware will post to the good status fifo even if
data for that command is still active in a FIFO.  In
one particular failure case, a command outstanding on the
bus reconnected, transferred data into a FIFO, and provided
good status while the host driver was processing an expected
busfree event (PPR message negotiation).  This resulted in
an entry in the good status fifo that we completed, but
since the sequencer was paused, the data in the data FIFO
for this command had never been transferred to the host.
Once the busfree processing was complete, the sequencer
was unpaused, and the data completed its transfer to the
host.  In some instances, the client for the data was notified
of the completion and attempted to view the data before
it arrived.  This case only occurred during FreeBSD's
multi-target probe of the SCSI bus while some devices are
negotiating to go packetized and some devices are already
running in packetized.

The fix is to run and FIFOs active with a context in the
good status fifo to completion before completing the command
to the SCSI layer.  This requies duplicating the FIFO rundown
operations in the host driver that would usually be handled
by the firmware, but there is no other alternative.

Don't blindly shutdown the SCB dma engine when restarting
the sequencer.  We may be killing an operation that is
not supposed to be cancelled.  The cases where we need to
shutdown these dma engines are already handled elsewhere in
the driver.

Fix a few more ahd_in?() -> ahd_in?_scbram() instances.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Aug 29 04:50:00 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +15 -11 lines
Diff to previous 1.19 (colored)

Apply the following change from 06/28/2003 04:45:25 by gibbs to the
FreeBSD ahd driver:

aic79xx.h:
	Add softc flag to indicate that we have seen at
	least one selection since the last bus reset or
	SE/LVD bus change.

aic79xx.c:
	Fix a few style nits.

	In ahd_update_pending_scbs(), only touch card registers
	once we have found an SCB that needs to be updated.
	This removes lots of clutter from PCI traces taken of
	error recovery performed by the driver.

	Short circuit the first selection iocell workaround handler
	if we've run once since the last bus reset or iocell change.
	This also removes clutter from PCI traces.

	Note if completions are pending in the qoutfifo when we dump
	card state.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Aug 29 04:38:07 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +26 -13 lines
Diff to previous 1.18 (colored)

Apply the following change from 06/28/2003 04:42:11 by gibbs to the
FreeBSD ahd driver:

Correct a typo in a comment.

Add a comment in ahd_clear_critical_sections() about
our need to leave ENBUSFREE set in SIMODE1 while single
stepping.

Re-arrange some delay loops so that we always perform
a read after any register write and before the delay.
This should make the delay loop more accurate.

When completing message processing for a packetized
commention, return the controller to a state where
invalid non-packetized phases will still cause protocol
violations.  These are the same operations as those
performed in the clear_target_state routine in the
firmware.

Now that we have a chip with working ABORTPENDING
support (the 7901B), comment out the automatic use
of this feature until we can adequately test it.
The previous checkin updated the bug mask for the
7901B so this code was exercised.

When resetting the bus, perform an ahd_flush_device_writes()
call so that our reset assertion delay is acurately
timed from when the reset bit is written to the controller.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Aug 29 04:03:09 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)

Apply the following change from 07-23-2003 22:06:34 by gibbs to the
FreeBSD ahd driver:

Add parenthesis so that we get all of the bits all
of the contents of the CCSCBCTL register into our
local varaible.  The other bits are used in later tests.
This avoids a potential deadlock in ahd_run_qoutfifo()
if we happen to catch the DMA engine in just the right
state.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Aug 29 04:00:35 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

Apply the following change from 07/06/2003 23:53:39 by gibbs to the
FreeBSD ahd driver:

When single stepping, only leave ENBUSFREE enabled
if it was already enabled.  We don't want to set it
when it shouldn't be set, we just don't want to
inadvertantly turn it off.  This should fix a recent
report of the aic7xxx driver repeatedly complaining of
"unexpected busfree while idle" in one configuration.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Aug 29 03:41:28 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +41 -21 lines
Diff to previous 1.15 (colored)

Apply the following change made 06/06/2003 23:51:13 by gibbs to the
FreeBSD ahd driver:

Work around SCSI spec violation by the Quantum Atlas 10K.
This drive delays going async after receiving a WDTR
message.  We now send an SDTR message after a WDTR even
if our goal is to go async.  This should work even for
confused devices.

If we get an unexpected busfree when attempting a WDTR
or SDTR, only set the goal negotiation parameters we were
trying to negotiate to off.  This means that should a WDTR
message fail, we will still try an SDTR if our goal is
non-async.

Fix a few more places where we were looking at goal.period
instead of goal.offset for determining if we should be
negotiating sync.  This should not have any impact on
our behavior, but the offset is more definitive and should
be used.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 29 02:38:58 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +25 -131 lines
Diff to previous 1.14 (colored)

Apply the following change from 6/6/2003 23:48:18 by gibbs to the
FreeBSD ahd driver:

aic7770.c:
aic79xx.c:
aic79xx.h:
aic79xx_pci.c:
aic7xxx.c:
aic7xxx.h:
aic7xxx_pci.c:
	Switch ah?_reset() to take an additional "reinit" argument.
	Use this instead of init_level to determin if the chip
	should be fully reinitialized after a chip reset.  This
	is required so that ah?_shutdown() can reset the chip
	without side-effects.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 29 02:18:16 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Update FreeBSD RCS ID for last.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Aug 29 01:58:32 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Apply the following change from 5/30/2003 02:15:15 made by scottl to the
FreeBSD ahd driver:

aic79xx.c:
	Use the special LUNLEN_SINGLE_LEVEL constant for
	post Rev A4 hardware for single byte luns.  Without
	this change, Rev B hardware would place the single
	byte of lun data in byte 0 of the lun structure when
	it should be in byte 1.  Since there are few if any
	devices on the market that support multiple luns in
	target mode, the corrupted lun field (which was only
	corrupted for non-zero luns) wasn't hurting us.

Approved by: re	(rwatson)

Revision 1.12 / (download) - annotate - [select for diffs], Fri Aug 29 01:37:11 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Apply the following change made on 5/26/2003 21:43:29 by gibbs to the
FreeBSD ahd driver:

aic79xx.c:
aic79xx_osm.h:
aic7xxx_osm.h:
	Explicitly define functions that take no arguments
	with "(void)"

Approved by: RE

Revision 1.11 / (download) - annotate - [select for diffs], Fri Aug 29 01:28:51 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +27 -35 lines
Diff to previous 1.10 (colored)

Apply the following change made on 5/26/2003 21:26:51 by gibbs to the
FreeBSD ahd driver:

Correct/Simplify ignore wide residue message handling

aic79xx.c:
	In ahd_handle_ign_wide_residue():
	o Use SCB_XFERLEN_ODD SCB field to determine transfer
	  "oddness" rather than the DATA_COUNT_ODD logic.
	  SCB_XFERLEN_ODD is toggled on every ignore wide
	  residue message so that multiple ignore wide residue
	  messages for the same transaction are properly supported.
	o If the sg list has been exausted, the sequencer
	  doesn't bother to update the residual data count
	  since it is known to be zero.  Perform the zeroing
	  manually before calculating the remaining data count.
	o Use multibyte in/out macros instead of shifting/masking
	  by hand.

aic79xx_inline.h:
	In ahd_setup_scb_common(), setup the SCB_XFERLEN_ODD field.

aic79xx.reg:
	Use the SCB_TASK_ATTRIBUTE field as a bit field in the
	non-packetized case.  We currently only define one bit,
	SCB_XFERLEN_ODD.

	Remove the ODD_SEG bit field that was used to carry the odd
	transfer length information through the SG cache.  This
	is obviated by SCB_XFERLEN_ODD field.

	Remove the DATA_COUNT_ODD scratch ram byte that was used
	dynamicaly compute data transfer oddness.  This is obviated
	by SCB_XFERLEN_ODD field.

aic79xx.seq:
	Remove all updates to the DATA_COUNT_ODD scratch ram field.
	Remove all uses of ODD_SEG.  These two save quite a few
	sequencer instructions.

	Use SCB_XFERLEN_ODD to validate the end of transfer
	ignore wide residue message case.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Aug 29 00:46:05 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +5 -6 lines
Diff to previous 1.9 (colored)

Apply the following change made 5/26/2003 21:18:48 by gibbs to the
FreeBSD ahd driver:

Change hadling of the Rev. A packetized lun output bug
to be more efficient by having the sequencer copy the
single byte of valid lun data into the long lun field.

aic79xx.c:
	Memset our hardware SCB to 0 so that untouched
	fields don't confuse diagnostic output.  With the
	old method for handling the Rev A bug, if the long
	lun field was not 0, this could result in bogus
	lun information being sent to drives.

	Use the same SCB transfer size for all chip types
	now that the long lun is not DMA'ed to the chip.

aic79xx.seq:
	Add code to copy lun information for Rev.A hardware.

aic79xx_inline.h:
	Remove host update of the long_lun field on every
	packetized command.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 29 00:10:03 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +154 -49 lines
Diff to previous 1.8 (colored)

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.8 / (download) - annotate - [select for diffs], Thu Aug 28 22:16:01 2003 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

Make sure we consistently report DT when sending an xfer mode async event.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jul 26 06:15:57 2003 UTC (19 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +17 -15 lines
Diff to previous 1.6 (colored)

Make this work on systems where bus_dmamap_sync() is not a noop.
In particular, when doing the "swap hscbs" trick, the scb must
reference the correct hscb_map when it gets a new hscb, otherwise
when you go to sync an hscb later, you could end up using the wrong
dmamap.

In order to make this work, we have to convert the shared_data stuff
to use a map_node, because of the "sentinel" trick played with the
initial "next_hscb".

This driver now works on XScale-based platforms.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jul 14 15:47:05 2003 UTC (19 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)

add missing __KERNEL_RCSID()

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 14 12:57:45 2003 UTC (19 years, 8 months ago) by wiz
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.4: +30 -30 lines
Diff to previous 1.4 (colored)

Correct spelling of coalesce. (Will forward to Justin Gibbs.)

Revision 1.4 / (download) - annotate - [select for diffs], Sat May 3 18:11:13 2003 UTC (19 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

DMA, not dma nor Dma.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 21 22:00:44 2003 UTC (19 years, 9 months ago) by fvdl
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

Remove unused variable.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 21 21:49:31 2003 UTC (19 years, 9 months ago) by fvdl
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Remove trigraph.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Apr 21 00:14:52 2003 UTC (19 years, 9 months ago) by fvdl
Branch: 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.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>