The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Oct 29 15:58:14 2024 UTC (2 months, 3 weeks ago) by nat
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +9 -2 lines
A simpler fix for handling aborted requests.

From riastradh@.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Oct 29 15:50:07 2024 UTC (2 months, 3 weeks ago) by nat
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -6 lines
Revert to previous - scsipi_done_once is not necessary.

A follow up commit will contain a simpler change (from riastradh@) to
ncr5380sbc.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Oct 28 14:36:43 2024 UTC (2 months, 3 weeks ago) by nat
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +6 -3 lines
Introduce scsipi_done_once.

This allows for transfers to be sucessfully aborted on the ncr5380sbc(4).

This may be usefull in future for other scsi controllers.

Callers of scsipi_done are not affected by this change.

Part of kern/58452.

As posted to tech-kern:
https://mail-index.netbsd.org/tech-kern/2024/08/02/msg029652.html

Ok thorpej@.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Oct 28 14:32:04 2024 UTC (2 months, 3 weeks ago) by nat
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -2 lines
Avoid spamming console with abort messages.

This is common when using a device such as dse(4) and is a harmless message.

Part of kern/58452.

As posted to tech-kern:
https://mail-index.netbsd.org/tech-kern/2024/08/02/msg029652.html

Ok thorpej@.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Oct 28 14:28:01 2024 UTC (2 months, 3 weeks ago) by nat
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +6 -2 lines
Abort current request upon reset.

Part of kern/58452.

As posted to tech-kern:
https://mail-index.netbsd.org/tech-kern/2024/08/02/msg029652.html

Ok thorpej@.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:12 2021 UTC (3 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3 lines
Merge thorpej-cfargs2.

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

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

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

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

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

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

...and a sentinel value CFARG_EOL.

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

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

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

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

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

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

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Jan 11 07:16:48 2017 UTC (8 years ago) by skrll
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, 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-20170426, pgoyette-localcount-20170320, 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, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncqfixes-base, jdolecek-ncqfixes, 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
Branch point for: thorpej-cfargs
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3 lines
adatper -> adapter

Revision 1.65.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:06 2012 UTC (12 years, 2 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +3 -2 lines
sync with head

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Jul 28 00:43:23 2012 UTC (12 years, 5 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, localcount-20160914, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, pgoyette-localcount, nick-nhusb
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -2 lines
Fix -fno-common found by building i386/conf/ALL

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

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

Revision 1.63.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:29 2010 UTC (14 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.63.4.1: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.4.1: +6 -6 lines
sync with head.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Jul 27 19:44:16 2010 UTC (14 years, 5 months ago) by jakllsch
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +6 -6 lines
Make debugging code compile on LP64.

Revision 1.63.4.1: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:33 2010 UTC (14 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -3 lines
sync with head

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

Revision 1.62.48.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:25 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +140 -162 lines
Sync with HEAD.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Apr 4 16:00:58 2008 UTC (16 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, 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, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +140 -162 lines
Split devict_t/softc for ncr5380sbc SCSI, and misc cosmetic changes.

Revision 1.59.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 00:57:36 2007 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.59.2.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.2.1: +3 -3 lines
Sync with head.

Revision 1.56.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:03 2006 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.1: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.2.1: +6 -8 lines
sync with head.

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

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Nov 24 19:46:59 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp-base, ad-audiomp
Branch point for: mjf-devfs2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
fix spelling of accommodate; from Zapher.

Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:13 2006 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -5 lines
Sync with head.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:51 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
__unused removal on arguments; approved by core.

Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:45 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -5 lines
sync with head

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

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

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

Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Aug 17 17:11:28 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -4 lines
Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!

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

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

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

Revision 1.49.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:04:15 2005 UTC (19 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.49.2.6: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.6: +3 -3 lines
Sync with HEAD. Here we go again...

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Jun 2 14:03:20 2005 UTC (19 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3 lines
Add a const. Fixes part of PR kern/30403.

Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:51 2005 UTC (19 years, 8 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +25 -25 lines
sync with -current

Revision 1.53.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:03 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.53.6.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.6.1: +4 -4 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.49.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:41:31 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.49.2.5: preferred, colored
Changes since revision 1.49.2.5: +4 -4 lines
Sync with HEAD.

Hi Perry!

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:02 2005 UTC (19 years, 10 months ago) by perry
Branches: 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
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -4 lines
nuke trailing whitespace

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

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

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

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

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

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Sep 12 18:05:46 2004 UTC (20 years, 4 months ago) by he
Branches: MAIN
CVS tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -2 lines
Enclose initialization of NCR_VARIANT_NCR53C400 in an ifdef on
NCR5380_USE_BUS_SPACE, to make this build again on acorn32, mac68k,
pc532, and sun3.  This is done under the assumption that it's
somewhat doubtful that any of those machines will encounter that
chip variant.

The acorn32 and mac68k parent drivers (csa and sbc) are listed in
ncr5380var.h as "easy to convert", but it's evident that noone have
stepped up to that challenge yet.  Sun3 and pc532 needs bus.h first,
which they apparently don't have at the moment.

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

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Aug 10 07:00:30 2004 UTC (20 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +7 -2 lines
For the c400, set 5380 compatibility mode on every pass through the reset
routine.  The PCMCIA attachment, at least, needs this.

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

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Nov 5 23:39:21 2003 UTC (21 years, 2 months ago) by simonb
Branches: 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
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3 lines
Fix gcc332 uninitialised bogon.

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

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat May 3 18:11:22 2003 UTC (21 years, 8 months ago) by wiz
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3 lines
DMA, not dma nor Dma.

Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:46:43 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.43.2.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.1: +3 -3 lines
catch up with -current on kqueue branch

Revision 1.38.4.5: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:49 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.38.4.4: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.4.4: +3 -3 lines
Catch up to -current.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Apr 5 18:27:53 2002 UTC (22 years, 9 months ago) by bouyer
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
Implement mstohz() as discussed on tech-kern, and use it in SCSI drivers
to convert xs->timeout to callout() parameter.

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:54:53 2002 UTC (23 years ago) by thorpej
Branches: kqueue
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +7 -11 lines
Sync kqueue branch with -current.

Revision 1.38.4.4: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:30:00 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.38.4.3: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.4.3: +2 -5 lines
Catch up to -current.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Nov 26 20:15:49 2001 UTC (23 years, 1 month ago) by fredette
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -4 lines
Use bus_space on sun2.
Update the comment to match list of bus_space-using ports.
Removed some old unused asm() labels.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Nov 15 09:48:07 2001 UTC (23 years, 2 months ago) by lukem
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -3 lines
don't need <sys/types.h> when including <sys/param.h>

Revision 1.38.4.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:14:31 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.38.4.2: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.4.2: +7 -8 lines
Catch up to -current.

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

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

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

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

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Jul 8 18:06:46 2001 UTC (23 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, kqueue
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
Correct various misspellings of 'transfer' and inflected forms.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Jul 7 16:13:49 2001 UTC (23 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
bzero -> memset

Revision 1.38.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:02:58 2001 UTC (23 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +141 -195 lines
Catch up to -current.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Jun 13 18:27:27 2001 UTC (23 years, 7 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -4 lines
Use the new generic mechanism for forcing polling on a SCSI interface, rather
than doing it ourselves.

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

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge

Revision 1.31.2.8: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:48:39 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.31.2.7: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.7: +2 -2 lines
Sync with HEAD

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Apr 13 23:30:07 2001 UTC (23 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
Remove the use of splimp() from the NetBSD kernel.  splnet()
and only splnet() is allowed for the protection of data structures
used by network devices.

Revision 1.31.2.7: download - view: text, markup, annotated - select for diffs
Thu Mar 29 16:44:45 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.31.2.6: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.6: +10 -82 lines
Leave handling of SCSI_CHECK to middle-layer.

Revision 1.31.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 22 18:02:55 2001 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.31.2.5: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.5: +5 -12 lines
make it compile

Revision 1.31.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 15 09:27:42 2001 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.31.2.4: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.4: +1 -2 lines
req_sense_length is dead.

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

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:06:48 2000 UTC (24 years, 7 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +3 -1 lines
Sync w/ netbsd-1-5-base.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Jun 6 14:24:05 2000 UTC (24 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: 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
Branch point for: nathanw_sa
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -1 lines
sun3 always defines Debugger(), so don't redefine it.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri May 26 21:11:00 2000 UTC (24 years, 8 months ago) by ragge
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -1 lines
Fix for a driver bug provided by Jon W Grubbs (jgrubbs@megsinet.net).

This bug is only visible on some disks, and I have verified that it works
correctly on VAX. However, du to the author, it is a problem on other
machines/disks as well. Here's the author's comments:

> The MI code for the NCR5380 has a small bug in it  The RZ56 wants to
> negotiate for Synchronous Data Transfers and when it does, the current code
> looks like it will send a REJECT message as the spec calls for when we cant
> handle the request.  However, a couple of lines of code in the
> ncr5380_msg_in routine are missing wrt the PARITY message and anything that
> wants to send a REJECT message.  The ATN setup that is done in
> ncr_sched_msgout is immediately negated by the final byte ACK sequence in
> this routine.  This causes bad things to happen to an RZ56.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Mar 29 13:09:02 2000 UTC (24 years, 9 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +17 -17 lines
Remove "register" declaration.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Mar 25 15:27:57 2000 UTC (24 years, 10 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +20 -10 lines
Add a "sc_rev" member to ncr5380_softc and handle CXD1180 quirk
in MI ncr5380sbc.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:01:32 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -3 lines
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

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

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Mar 18 17:14:34 2000 UTC (24 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -3 lines
Change footprint of ncr5380_intr() to match normal interrupt handler usage.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Mar 18 16:13:26 2000 UTC (24 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +61 -7 lines
Add a ncr5380_attach() routine which does part of the initialization, attaches
the scsibus, and does the addref/delref dance.

Revision 1.31.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 1 22:54:17 1999 UTC (25 years, 2 months ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.31.2.2: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.2: +2 -2 lines
Fixup the SC_DEBUG() stuff for the new world order.

Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 26 23:10:16 1999 UTC (25 years, 3 months ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.1: +9 -8 lines
Update for:

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

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 17:47:38 1999 UTC (25 years, 3 months ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +129 -84 lines
Adapt to scsipi API changes.

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

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Dec 5 19:43:53 1998 UTC (26 years, 1 month ago) by mjacob
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -1 lines
Update HBAs to incorporate the new max_lun property.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Oct 26 04:44:04 1998 UTC (26 years, 3 months ago) by scottr
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +105 -103 lines
Update for changes to NCR5380_READ() and NCR5380_WRITE().

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Oct 25 17:26:41 1998 UTC (26 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +108 -103 lines
PR/6274: John Ruschmeyer: Add support for the ncr53c80 driver on the i386.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Sep 16 05:36:35 1998 UTC (26 years, 4 months ago) by scottr
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -3 lines
Revert the last change:  returning COMPLETE is clearly the wrong thing to do
if we weren't polling to begin with.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Sep 14 05:56:14 1998 UTC (26 years, 4 months ago) by scottr
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -3 lines
Correct a serious problem that affects at least front ends that can only
use PIO (or equivalent) code to do asynchronous transfers:  In
ncr5380_scsi_cmd(), test to see if the request has been completed after
the call to ncr5380_sched(), and return COMPLETE if so.  This avoids
going into an infinite loop in scsipi_execute_xs() while waiting for an
interrupt to trigger completion of the transfer... which, of course,
never happens, since it's already done.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Jul 4 22:18:50 1998 UTC (26 years, 6 months ago) by jonathan
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -1 lines
defopt DDB.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Dec 12 22:44:26 1997 UTC (27 years, 1 month ago) by scottr
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Fix typo in a trace message expression.

Revision 1.21.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 6 18:55:51 1997 UTC (27 years, 4 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.21.4.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.4.1: +5 -3 lines
Update marc-pcmcia branch from trunk.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Sep 5 17:57:19 1997 UTC (27 years, 4 months ago) by scottr
Branches: 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
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -3 lines
Fix a couple of field references missed during the scsipi merge.

Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 27 23:30:49 1997 UTC (27 years, 5 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +47 -45 lines
Update marc-pcmcia branch from trunk.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Aug 27 11:24:57 1997 UTC (27 years, 5 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +47 -45 lines
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.21.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 1 17:35:08 1997 UTC (27 years, 6 months ago) by bouyer
Branches: bouyer-scsipi
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +47 -45 lines
Updates for new scsipi subsystem. Actally known to work on i386 and sparc.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Apr 7 16:28:26 1997 UTC (27 years, 9 months ago) by scottr
Branches: MAIN
CVS tags: marc-pcmcia-bp
Branch point for: marc-pcmcia, bouyer-scsipi
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Fix a debugging printf() format.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Mar 27 07:30:40 1997 UTC (27 years, 10 months ago) by scottr
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +10 -7 lines
Work around an ambiguity in the SCSI spec.  Some implementations,
particularly older ones, don't do a SAVE DATA POINTER before disconnecting.
When the driver reconnects, it does an implicit RESTORE POINTERS, and
restores the data pointer from *before* the last transfer.  If the driver
calculates the residual using the data pointer and doesn't account for
this, the residual will be wrong.

What we do is test for the SDEV_AUTOSAVE quirk when we see a disconnect
message, falling through to do a SAVE DATA POINTER if the quirk applies
to this target.

The workaround was suggested by Mycroft, who also provided the explanation
of the problem.  Actual code was (mostly) ripped off from the 53C9x driver.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Mar 27 01:16:01 1997 UTC (27 years, 10 months ago) by gwr
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -10 lines
No longer need the hack that forced SCSI_POLL when cold.

Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 12 21:22:36 1997 UTC (27 years, 10 months ago) by is
Branches: is-newarp
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +36 -13 lines
Merge in changes from Trunk

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Mar 4 21:42:32 1997 UTC (27 years, 10 months ago) by mycroft
Branches: MAIN
CVS tags: is-newarp-before-merge
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Fix a couple of splhigh()s that should be splbio().

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Feb 26 22:23:48 1997 UTC (27 years, 10 months ago) by gwr
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +14 -7 lines
Use sc_no_disconnect (per-target) instead of NCR5380_PERMIT_RESELECT.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Feb 26 20:31:16 1997 UTC (27 years, 10 months ago) by gwr
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +22 -6 lines
Integrate fix for rude targets that transfer more data than requested.
(From Matthias Pfaller).

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Dec 15 10:02:30 1996 UTC (28 years, 1 month ago) by scottr
Branches: MAIN
CVS tags: thorpej-setroot, mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +17 -8 lines
Make this compile #ifdef DDB:

 - Prototype debugging functions
 - Replace %x and %lx with %p as appropriate

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Dec 10 21:28:00 1996 UTC (28 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
Fill in sc_link.max_target

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Oct 13 01:37:25 1996 UTC (28 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +46 -46 lines
backout kprintf changes

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Oct 10 22:18:38 1996 UTC (28 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +80 -87 lines
- printf -> kprintf, sprintf -> ksprintf

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon May 13 14:10:21 1996 UTC (28 years, 8 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Fix printf() statement argument order

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri May 10 18:04:01 1996 UTC (28 years, 8 months ago) by gwr
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +28 -13 lines
Add a new member to the softc (sc_parity_disable) with per-target
bits that tell the driver not to expect parity from those targets.
XXX: For now, it is up to MD code to set this mask.  Eventually,
XXX: we should identify targets first (without demanding parity)
XXX: and then use a new "SCSI quirk" to set the right bit.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Mar 18 23:09:02 1996 UTC (28 years, 10 months ago) by gwr
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +19 -2 lines
Deal with devices that are slow to get off the bus.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Mar 7 15:00:17 1996 UTC (28 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +16 -10 lines
prototypes for ccd audio and ncr5380

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Mar 1 01:42:04 1996 UTC (28 years, 10 months ago) by gwr
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +15 -12 lines
Replace DEBUG with NCR5380_DEBUG and do not define it by default.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Feb 28 01:44:17 1996 UTC (28 years, 10 months ago) by gwr
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -4 lines
Kill two mis-matched and unnecessary declarations.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Feb 22 04:06:03 1996 UTC (28 years, 11 months ago) by gwr
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -6 lines
fix a trace message

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Feb 22 03:10:47 1996 UTC (28 years, 11 months ago) by gwr
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +49 -21 lines
Do not mark target/LUN busy until we commit to working with it,
after the check for reselections.  (From Matthias Pfaller, PR 2105)
Also improve the selection code WRT concurrent reselection.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Feb 10 00:11:48 1996 UTC (28 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -4 lines
vnd.c: Typo (disk_deta{t,}ch) It was detach in the header file and
       detatch everywhere else. Reverted to the english spelling.
       Also fixed the rest of the prototype warnings while I was at it.
ic/ncr5380sbc.c: Don't declare Debugger()... I have to clean this
		 everywhere :-(

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jan 23 19:47:00 1996 UTC (29 years ago) by gwr
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +20 -14 lines
Use the function pointers sc_pio_in, sc_pio_out to call the PIO functions
for transfers in data phase so those functions may be MD implementations
that do "pseudo-DMA" if desired.  Also correct some comments.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jan 1 22:24:37 1996 UTC (29 years ago) by thorpej
Branches: MAIN
Switch to David Jones' new machine-independent NCR5380 driver.  It's been
in use by the sun3 port for some time, and is now used by the sparc port.

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>