The NetBSD Project

CVS log for src/sys/arch/mac68k/dev/ncr5380.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.71 / (download) - annotate - [select for diffs], Thu Apr 7 19:33:37 2022 UTC (9 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

fix various typos in comments.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Aug 7 16:18:57 2021 UTC (17 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

Merge thorpej-cfargs2.

Revision 1.69.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 02:37:20 2021 UTC (17 months, 3 weeks ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Adapt to CFARGS().

Revision 1.69 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:40 2021 UTC (21 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored)

Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

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

Revision 1.68.4.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:02 2021 UTC (22 months, 1 week ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.68 / (download) - annotate - [select for diffs], Tue Sep 29 03:02:18 2020 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

s/implicitely/implicitly/

Revision 1.64.20.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:24 2017 UTC (5 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.64.20.2: +1 -1 lines
Diff to previous 1.64.20.2 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

update from HEAD

Revision 1.67 / (download) - annotate - [select for diffs], Sat Oct 18 08:33:25 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, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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-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, 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-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

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

Revision 1.64.20.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:11 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.64.20.1: +3 -6 lines
Diff to previous 1.64.20.1 (colored) to branchpoint 1.64 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.64.10.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:56 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.64.10.1: +3 -6 lines
Diff to previous 1.64.10.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (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.65.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:16 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.65: +3 -6 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

sync with head

Revision 1.66 / (download) - annotate - [select for diffs], Fri Oct 25 21:48:48 2013 UTC (9 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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.65: +3 -6 lines
Diff to previous 1.65 (colored)

Simplify

Revision 1.64.20.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:30 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.64: +15 -13 lines
Diff to previous 1.64 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.64.10.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:55 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.64: +15 -13 lines
Diff to previous 1.64 (colored)

sync with head

Revision 1.65 / (download) - annotate - [select for diffs], Sat Oct 27 17:17:59 2012 UTC (10 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.64: +15 -13 lines
Diff to previous 1.64 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:33 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync with HEAD.

Revision 1.62.72.1 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:34 2010 UTC (12 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.62: +3 -8 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

sync with head

Revision 1.64 / (download) - annotate - [select for diffs], Sun Feb 28 15:52:16 2010 UTC (12 years, 11 months ago) by snj
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

Fight the ever-increasing size of src checkouts by spelling "useful"
without an extra l.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Oct 20 19:10:12 2009 UTC (13 years, 3 months ago) by snj
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.62: +2 -7 lines
Diff to previous 1.62 (colored)

Remove 3rd and 4th clause on Leo Weppelman's license.  OK leo@.

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

sync with head

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:53:02 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.59: +8 -8 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

sync with head.

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

Sync with head.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Wed Mar 1 09:27:58 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

sync with head.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Feb 25 00:58:35 2006 UTC (16 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, 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, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, peter-altq-base, peter-altq, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, 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, 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-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, 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-nb4-arm-base, matt-nb4-arm, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-nfs-mp
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Fix typos, reported by Alexey Dobriyan ("Gathered from Linux"),
forwarded by jmc@openbsd.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Dec 24 23:24:00 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.60: +7 -7 lines
Diff to previous 1.60 (colored)

__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile

Revision 1.60 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:02 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

merge ktrace-lwp.

Revision 1.52.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 13:57:13 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.52.2.6: +8 -8 lines
Diff to previous 1.52.2.6 (colored) next main 1.53 (colored)

Sync with HEAD. Here we go again...

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jun 16 22:45:46 2005 UTC (17 years, 7 months ago) by jmc
Branch: 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
Changes since 1.58: +8 -8 lines
Diff to previous 1.58 (colored)

Shadowing and const fixes.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:14 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.57: +8 -6 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

sync with -current

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:05 2005 UTC (17 years, 10 months ago) by yamt
Branch: yamt-km
Changes since 1.57: +8 -6 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

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

Revision 1.52.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:38:48 2005 UTC (17 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.52.2.5: +8 -6 lines
Diff to previous 1.52.2.5 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.58 / (download) - annotate - [select for diffs], Mon Feb 21 00:29:06 2005 UTC (17 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.57: +8 -6 lines
Diff to previous 1.57 (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.52.2.5 / (download) - annotate - [select for diffs], Mon Jan 17 19:29:35 2005 UTC (18 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.52.2.4: +39 -75 lines
Diff to previous 1.52.2.4 (colored)

Sync with HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jan 15 16:00:59 2005 UTC (18 years ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base
Branch point for: yamt-km, kent-audio2
Changes since 1.56: +39 -75 lines
Diff to previous 1.56 (colored)

de-__P, remove register, ansify, b* -> mem*.

Revision 1.52.2.4 / (download) - annotate - [select for diffs], Sat Dec 18 09:31:14 2004 UTC (18 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.52.2.3: +10 -26 lines
Diff to previous 1.52.2.3 (colored)

Sync with HEAD.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Dec 7 21:12:42 2004 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: kent-audio1-beforemerge
Changes since 1.55: +10 -26 lines
Diff to previous 1.55 (colored)

- Use the cmdlen specified in the scsipi_xfer structure.  Keying off
  the command group ID won't necessarily work for vendor-specific commands.
- Expand the storage in the SC_REQ structure to account for 16-byte commands.

Revision 1.52.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:18:06 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.52.2.2: +2 -2 lines
Diff to previous 1.52.2.2 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:37:06 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.52: +68 -62 lines
Diff to previous 1.52 (colored)

Sync with HEAD

Revision 1.55 / (download) - annotate - [select for diffs], Thu Oct 30 22:35:38 2003 UTC (19 years, 3 months ago) by matt
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-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-base, kent-audio1
Changes since 1.54: +4 -4 lines
Diff to previous 1.54 (colored)

Fix real uninitialized variable bug.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Oct 30 22:25:42 2003 UTC (19 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.53: +64 -61 lines
Diff to previous 1.53 (colored)

Fix indentation/whitespace.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Jul 15 02:43:18 2003 UTC (19 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.52: +4 -1 lines
Diff to previous 1.52 (colored)

__KERNEL_RCSID()

Revision 1.52 / (download) - annotate - [select for diffs], Sat May 3 18:10:50 2003 UTC (19 years, 9 months ago) by wiz
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.51: +6 -6 lines
Diff to previous 1.51 (colored)

DMA, not dma nor Dma.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Apr 2 01:09:19 2003 UTC (19 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.47.8.2 / (download) - annotate - [select for diffs], Fri Oct 18 02:38:20 2002 UTC (20 years, 3 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.47.8.1: +2042 -0 lines
Diff to previous 1.47.8.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Catch up to -current.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Thu Oct 10 18:33:46 2002 UTC (20 years, 3 months ago) by jdolecek
Branch: kqueue
Changes since 1.47: +5 -5 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.50 / (download) - annotate - [select for diffs], Wed Oct 2 05:52:32 2002 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

Use CFATTACH_DECL().

Revision 1.49 / (download) - annotate - [select for diffs], Fri Sep 27 20:33:14 2002 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Declare all cfattach structures const.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Sep 27 15:36:16 2002 UTC (20 years, 4 months ago) by provos
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.46.6.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:26:49 2001 UTC (21 years, 7 months ago) by nathanw
Changes since 1.46: +86 -79 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Catch up to -current.

Revision 1.47.8.1, Wed Apr 25 17:53:14 2001 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47: +0 -2042 lines
FILE REMOVED

file ncr5380.c was added on branch nathanw_sa on 2002-10-18 02:38:20 +0000

Revision 1.47 / (download) - annotate - [select for diffs], Wed Apr 25 17:53:14 2001 UTC (21 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa, kqueue
Changes since 1.46: +86 -79 lines
Diff to previous 1.46 (colored)

Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
  ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
  to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
  peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
  recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
  scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
  (no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
  set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
  the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
  will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge

Revision 1.45.2.3 / (download) - annotate - [select for diffs], Thu Mar 29 10:13:25 2001 UTC (21 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45.2.2: +4 -2 lines
Diff to previous 1.45.2.2 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Pass compile-test on i386.

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Tue Mar 27 13:16:22 2001 UTC (21 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45.2.1: +84 -79 lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored)

Convert to thorpej_scsipi (untested).

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:12:18 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.45.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:32:34 1999 UTC (23 years, 1 month ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Pull up to last week's -current.

Revision 1.44.4.2 / (download) - annotate - [select for diffs], Sun Dec 12 08:25:46 1999 UTC (23 years, 1 month ago) by scottr
Branch: scottr-mac68k-wscons
Changes since 1.44.4.1: +2 -2 lines
Diff to previous 1.44.4.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Sync with main branch.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Dec 12 08:18:49 1999 UTC (23 years, 1 month ago) by scottr
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, scottr-mac68k-wscons-base, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Replace references to PGOFSET with m68k_trunc_page() and m68k_page_offset(),
as appropriate.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Tue Nov 2 06:46:12 1999 UTC (23 years, 3 months ago) by scottr
Branch: scottr-mac68k-wscons
Changes since 1.44: +8 -19 lines
Diff to previous 1.44 (colored)

[Redo] Sync with main branch.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Sep 30 23:01:11 1999 UTC (23 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.44: +8 -19 lines
Diff to previous 1.44 (colored)

Update for SCSIPI changes.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Dec 5 19:43:42 1998 UTC (24 years, 2 months ago) by mjacob
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Branch point for: scottr-mac68k-wscons
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

Update HBAs to incorporate the new max_lun property.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Nov 19 21:46:24 1998 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +5 -8 lines
Diff to previous 1.42 (colored)

Adapt to the new scsipi_adapter interface.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Oct 10 00:28:38 1998 UTC (24 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.41: +4 -5 lines
Diff to previous 1.41 (colored)

Garbage-collect the open_target_lu and close_target_lu entry points from
struct scsipi_adapter; they were not used.

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

Inspired by PR #6090, from Matt Jacob.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jul 2 00:47:30 1998 UTC (24 years, 7 months ago) by wrstuden
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.40: +4 -3 lines
Diff to previous 1.40 (colored)

Another printf("%:"...) bites the dust (->vprintf(...))

Revision 1.40 / (download) - annotate - [select for diffs], Mon Jan 12 19:22:13 1998 UTC (25 years ago) by thorpej
Branch: MAIN
Changes since 1.39: +2 -4 lines
Diff to previous 1.39 (colored)

Update for changes to config.

Revision 1.38.10.1 / (download) - annotate - [select for diffs], Wed Aug 27 22:27:44 1997 UTC (25 years, 5 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.38: +29 -26 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Aug 27 11:23:50 1997 UTC (25 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.38: +29 -26 lines
Diff to previous 1.38 (colored)

Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Tue Jul 1 17:34:03 1997 UTC (25 years, 7 months ago) by bouyer
Branch: bouyer-scsipi
Changes since 1.38: +29 -26 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Updates for new scsipi subsystem. Actally known to work on i386 and sparc.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Dec 19 21:48:18 1996 UTC (26 years, 1 month ago) by scottr
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, marc-pcmcia-bp, is-newarp-before-merge, is-newarp-base, is-newarp
Branch point for: marc-pcmcia, bouyer-scsipi
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Clean up a few bogons+typos introduced in the removal of the broken indirect
config code.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Dec 16 16:17:09 1996 UTC (26 years, 1 month ago) by scottr
Branch: MAIN
Changes since 1.36: +5 -4 lines
Diff to previous 1.36 (colored)

Convert all foo_match() functions to use a `struct cfdata *' for their
second argument.  The NuBus autoconfig code had to be reorganized as a
result of this, and looks much more like a directly-attached bus now.
These changes eliminate __BROKEN_INDIRECT_CONFIG.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Dec 10 21:27:38 1996 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

Fill in sc_link.max_target

Revision 1.35 / (download) - annotate - [select for diffs], Sun Oct 13 03:21:24 1996 UTC (26 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.34: +25 -25 lines
Diff to previous 1.34 (colored)

backout previous kprintf change

Revision 1.34 / (download) - annotate - [select for diffs], Fri Oct 11 00:24:55 1996 UTC (26 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.33: +25 -25 lines
Diff to previous 1.33 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.33 / (download) - annotate - [select for diffs], Wed Aug 28 19:00:04 1996 UTC (26 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.32: +3 -15 lines
Diff to previous 1.32 (colored)

(1) set scsi_link channel to either the appropriate channel (if a
    multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
    single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
    function, and kill any locally-defined print function.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Aug 27 21:56:04 1996 UTC (26 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).

Revision 1.28.4.2 / (download) - annotate - [select for diffs], Tue Jun 25 01:25:22 1996 UTC (26 years, 7 months ago) by jtc
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA
Changes since 1.28.4.1: +3 -3 lines
Diff to previous 1.28.4.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Pulled up from rev 1.30 by request from Allen Briggs

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jun 23 15:02:58 1996 UTC (26 years, 7 months ago) by briggs
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)

Add a comment about the last change.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jun 7 02:44:15 1996 UTC (26 years, 7 months ago) by briggs
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Wait longer (2.5 sec) in wait_req_true/false.  Some targets take a long time.

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Sat Jun 1 06:16:43 1996 UTC (26 years, 8 months ago) by scottr
Branch: netbsd-1-2
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored)

Pull up version 1.29 from the main branch (unused variable warning)

Revision 1.29 / (download) - annotate - [select for diffs], Wed May 22 17:16:45 1996 UTC (26 years, 8 months ago) by briggs
Branch: MAIN
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored)

Get rid of compiler warning if DBG_PID is not defined.

Revision 1.28 / (download) - annotate - [select for diffs], Mon May 6 22:26:26 1996 UTC (26 years, 9 months ago) by briggs
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.27: +13 -11 lines
Diff to previous 1.27 (colored)

Update to something closer to the atari port.

Revision 1.27 / (download) - annotate - [select for diffs], Sun May 5 06:16:54 1996 UTC (26 years, 9 months ago) by briggs
Branch: MAIN
Changes since 1.26: +45 -21 lines
Diff to previous 1.26 (colored)

Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped.  I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Mar 30 21:06:23 1996 UTC (26 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Change %r -> %: as for recursive printf's

Revision 1.25 / (download) - annotate - [select for diffs], Fri Mar 29 02:12:41 1996 UTC (26 years, 10 months ago) by briggs
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Fix minor oversight in a sanity check--caught by Jason, I think, and reported
by Scott.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 20 05:15:54 1996 UTC (26 years, 10 months ago) by scottr
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Fix a long-standing bug uncovered by the new device attachment
model.  Thanks to Jason Thorpe for the fix (fixed PR 2235).

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 17 01:33:31 1996 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.22: +13 -9 lines
Diff to previous 1.22 (colored)

New device attachment scheme:

	- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Mar 7 20:47:01 1996 UTC (26 years, 10 months ago) by briggs
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Fix a typo in last.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Mar 7 02:26:37 1996 UTC (26 years, 11 months ago) by briggs
Branch: MAIN
Changes since 1.20: +21 -5 lines
Diff to previous 1.20 (colored)

Disable SCSI linked commands, but allow kernel option to override.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 19 02:51:06 1996 UTC (26 years, 11 months ago) by briggs
Branch: MAIN
Changes since 1.19: +67 -33 lines
Diff to previous 1.19 (colored)

Update to latest Atari driver, but with some local modifications.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Feb 3 23:17:56 1996 UTC (27 years ago) by briggs
Branch: MAIN
Changes since 1.18: +9 -38 lines
Diff to previous 1.18 (colored)

Move debugging defines, etc. into mac68k5380.c and use them instead of
something similar but different.  Make a few cosmetic changes.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jan 24 06:02:11 1996 UTC (27 years ago) by briggs
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored)

Patch a few of the holes in the machine-dependent part of this driver.
Sync the m.i. part with the Atari.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 6 15:56:12 1996 UTC (27 years, 1 month ago) by briggs
Branch: MAIN
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored)

Fix from Paul Goyette for off-by-one error.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jan 6 05:18:06 1996 UTC (27 years, 1 month ago) by briggs
Branch: MAIN
Changes since 1.15: +21 -14 lines
Diff to previous 1.15 (colored)

Bring in a few changes from Atari port.
Add support from Paul Goyette for keeping more than just the last 2
states when debugging.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Dec 13 03:48:07 1995 UTC (27 years, 1 month ago) by briggs
Branch: MAIN
Changes since 1.14: +0 -0 lines
Diff to previous 1.14 (colored)

Fix from Paul Goyette to disable linked commands on drives that
reject them for simple commands.  Leo W. reports that this does
not work for some systems.  It's better than what we have now,
though.  From Paul Goyette <paul@pgoyette.bdt.com>.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 4 02:10:44 1995 UTC (27 years, 2 months ago) by briggs
Branch: MAIN
Changes since 1.13: +67 -17 lines
Diff to previous 1.13 (colored)

Fix from Paul Goyette (paul@pgoyette.bdt.com) for drives that don't grok
linked commands.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Dec 1 15:14:11 1995 UTC (27 years, 2 months ago) by briggs
Branch: MAIN
Changes since 1.12: +9 -2 lines
Diff to previous 1.12 (colored)

cmdlen-2 is right for the last byte of the command.  Ifdef out for right now,
though, as some devices apparently don't support linked commands and will
reject commands that have the link bit set in them.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 30 14:25:40 1995 UTC (27 years, 2 months ago) by briggs
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Put the link flag in the right place.
Pointed out by Paul@pgoyette.bdt.com (Paul Goyette).

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Tue Oct 31 21:47:49 1995 UTC (27 years, 3 months ago) by briggs
Branch: netbsd-1-1
CVS Tags: netbsd-1-1-RELEASE, netbsd-1-1-PATCH001
Changes since 1.10.2.1: +48 -9 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Bring in version from HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Oct 31 15:32:35 1995 UTC (27 years, 3 months ago) by briggs
Branch: MAIN
Changes since 1.10: +48 -16 lines
Diff to previous 1.10 (colored)

Pull in all but one of Leo's changes from the atari copy.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Mon Oct 16 14:19:39 1995 UTC (27 years, 3 months ago) by briggs
Branch: netbsd-1-1
Changes since 1.10: +1 -8 lines
Diff to previous 1.10 (colored)

Get rid of an 'if' in reselect() that causes a hang for me--pointed out by
Leo and Mattias(sp?).

Revision 1.10 / (download) - annotate - [select for diffs], Sun Oct 8 17:25:19 1995 UTC (27 years, 3 months ago) by briggs
Branch: MAIN
CVS Tags: netbsd-1-1-base
Branch point for: netbsd-1-1
Changes since 1.9: +47 -47 lines
Diff to previous 1.9 (colored)

Pick up changes from leo's latest version.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 2 09:03:53 1995 UTC (27 years, 4 months ago) by briggs
Branch: MAIN
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)

Change to allow nack_message() to take an argument and send
MSG_REJECT_MESSAGE instead of MSG_ABORT when we get an extended message.
This allows a DEC drive to work when it attempts to negotiate synch.
transfers on us.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 18 13:52:43 1995 UTC (27 years, 4 months ago) by briggs
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

Do not define MIN_PHYS here--it is m.d..

Revision 1.7 / (download) - annotate - [select for diffs], Sat Sep 16 15:06:55 1995 UTC (27 years, 4 months ago) by briggs
Branch: MAIN
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored)

Sync. with atari ncr5380.c -- mainly whitespace changes.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 16 11:45:20 1995 UTC (27 years, 4 months ago) by briggs
Branch: MAIN
Changes since 1.5: +7 -7 lines
Diff to previous 1.5 (colored)

Rename scsi_main_irq() to pdma_ready().
Missed a few ATNs in last patch.  (pointed out by Leo).
Raise timeout from 100 to 1000.  From Leo.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 15 01:52:18 1995 UTC (27 years, 4 months ago) by briggs
Branch: MAIN
Changes since 1.4: +70 -39 lines
Diff to previous 1.4 (colored)

As Leo pointed out, my last change was not safe.  This one should be.
I added two new bitfields to ncr_softc.  They flag which devices have
been selected, and which ones have failed to go to message out when
selected with ATN.  If a target fails to go to message out the first
time it is selected, it goes into the latter bitfield.  If it fails
thereafter, we treat it as we did before.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Sep 14 02:54:05 1995 UTC (27 years, 4 months ago) by briggs
Branch: MAIN
Changes since 1.3: +40 -27 lines
Diff to previous 1.3 (colored)

Gah...  The Asante SCSI/ethernet box doesn't answer the ATN request
for a 'MESSAGE OUT' phase, so add support in scsi_select() for the
phase to be either 'MESSAGE OUT' or 'COMMAND'.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Sep 12 21:20:18 1995 UTC (27 years, 4 months ago) by briggs
Branch: MAIN
Changes since 1.2: +76 -27 lines
Diff to previous 1.2 (colored)

Updates from Leo's changes in the atari port.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 5 11:21:34 1995 UTC (27 years, 5 months ago) by briggs
Branch: MAIN
Changes since 1.1: +14 -4 lines
Diff to previous 1.1 (colored)

Remove infinite loop per Leo and Mycroft.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Sep 3 03:36:37 1995 UTC (27 years, 5 months ago) by briggs
Branch: MAIN

Make a local copy of the atari m.i. scsi driver sources for the time
being.  Some people aren't supping arch/atari and this allows those
people to get the sources.

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>