The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Feb 9 22:08:34 2024 UTC (9 months, 4 weeks ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
fix spelling mistakes, mainly in comments and log messages.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Feb 9 22:30:27 2022 UTC (2 years, 9 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -5 lines
fix various typos in comments.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Aug 21 11:55:25 2021 UTC (3 years, 3 months ago) by andvar
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
fix some more typos in comments/log messages, improve wording as well.

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

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

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:55 2021 UTC (3 years, 7 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.28: preferred, colored
Changes since revision 1.28: +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.28.14.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:09:12 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +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.27.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:11 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +3 -3 lines
Sync with HEAD

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Feb 10 17:13:33 2019 UTC (5 years, 9 months ago) by christos
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-cfargs
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Introduce PR_ZERO to avoid open-coding memset()s everywhere. OK riastradh@.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Feb 8 09:05:19 2018 UTC (6 years, 10 months ago) by dholland
Branches: MAIN
CVS tags: phil-wifi-base, 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, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
Typos.

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

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

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

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Jan 11 07:16:48 2017 UTC (7 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, 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-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
adatper -> adapter

Revision 1.24.18.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:38 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +5 -4 lines
Rebase to HEAD as of a few days ago.

Revision 1.24.8.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:22 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +7 -6 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.24.22.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:38 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +7 -6 lines
sync with head

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Jan 22 15:21:08 2014 UTC (10 years, 10 months ago) by christos
Branches: 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, 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
Branch point for: pgoyette-localcount, nick-nhusb
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +7 -6 lines
fix unused variable warnings

Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:23 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +2 -4 lines
sync with head

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Nov 13 13:52:02 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -4 lines
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:24 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +4 -3 lines
Sync with HEAD.

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

Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:45 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +505 -503 lines
sync with head.

Revision 1.19.12.1: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:30:45 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +505 -503 lines
Sync with HEAD.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Feb 12 06:20:58 2009 UTC (15 years, 10 months ago) by rumble
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, 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-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: rmind-uvmplock
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -3 lines
If sc_dmamode is set to SBIC_CTL_NO_DMA, then actually don't do DMA. Now
PIO mode actually works.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Jan 27 11:26:15 2009 UTC (15 years, 10 months ago) by tsutsui
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +498 -498 lines
- use device_t and cfdata_t
- rename variables for readability after device_t/softc split
- use proper pointer types

No binary changes.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jan 25 15:23:42 2009 UTC (15 years, 10 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +20 -19 lines
Split device_t from wd33c93_softc.  Reviewed by cube; tested on sgimips
by tsutsui.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Jan 20 20:57:26 2009 UTC (15 years, 10 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -6 lines
Convert more printfs to aprint_* and use the latter more consistently.

Revision 1.18.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:28 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +15 -16 lines
Sync with HEAD.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Apr 8 12:07:27 2008 UTC (16 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +15 -16 lines
use aprint_*_dev and device_xname

Revision 1.17.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:27:18 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +3 -3 lines
sync with HEAD

Revision 1.9.4.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:31:12 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.9.4.3: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.4.3: +3 -3 lines
sync with head.

Revision 1.17.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:45:06 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +3 -3 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.17.12.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:38:02 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +3 -3 lines
Sync with HEAD.

Revision 1.10.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:07:52 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.10.2.3: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.3: +3 -3 lines
Sync with head.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:04 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.9.4.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:35:21 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.9.4.2: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.4.2: +128 -95 lines
sync with head.

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:06:17 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +124 -92 lines
Sync with head.

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

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

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

Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Sun May 27 14:30:07 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.10.2.1: preferred, colored
Changes since revision 1.10.2.1: +123 -91 lines
Sync with head.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon May 21 19:25:54 2007 UTC (17 years, 6 months ago) by rumble
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -7 lines
Fix comments about the cf_flags layout and use macros to test whether
tags, sync, and disconnect/reconnect are to be disabled or not.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon May 21 18:56:32 2007 UTC (17 years, 6 months ago) by rumble
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +17 -4 lines
Check in a workaround before I lose or forget about it:

My SGI issued IBM DORS-32160 will respond to every message with a sync
negotiation (even IDENTIFY) until it gets a response it likes (and it
definitely doesn't like async). Unfortunately, this locks us into an endless
loop after sending IDENTIFY, since the device responds with a SYNC
negotiation that we refuse to accept. This refusal results in a new
target-initiated sync negotiation, and so on...

To work around this, permit negotiating sync mode on an unexpected
target-initiated sync negotiation.

Revision 1.9.6.3: download - view: text, markup, annotated - select for diffs
Thu May 17 13:41:27 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.9.6.2: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.6.2: +103 -84 lines
sync with head.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue May 8 02:08:17 2007 UTC (17 years, 7 months ago) by rumble
Branches: MAIN
CVS tags: yamt-idlelwp-base8
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -3 lines
Report whether we're using DMA and what type on attach, since I keep losing
track while testing.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue May 8 00:29:30 2007 UTC (17 years, 7 months ago) by rumble
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -4 lines
The maximum FIFO depth on old WD33C93 parts is only 5, not 12 as on 93A and
93B. However, there appear to be issues using the maximum of 5 on old
parts, so 4 is it.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue May 8 00:20:15 2007 UTC (17 years, 7 months ago) by rumble
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +93 -82 lines
Enable Fast SCSI transfers for WD33C93B parts with appropriate input
clocks.

My Seagate ST32430N now sees about 50% greater throughput (about 97% as
fast as IRIX can push it). However, there appear to be other performance
issues with the driver as other disks perform significantly worse than they
should, with or without this change.

Reviewed by bjh21. Tested on my Indy and Challenge S.

Revision 1.9.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:29 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.9.6.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.6.1: +3 -3 lines
sync with head.

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:50:24 2007 UTC (17 years, 9 months ago) by ad
Branches: vmlocking
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Sync with head.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Mar 12 18:18:30 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.9.6.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:48 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -4 lines
Sync with HEAD.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Mar 5 17:55:19 2007 UTC (17 years, 9 months ago) by he
Branches: MAIN
Branch point for: vmlocking
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -4 lines
Cast to char* before doing pointer arithmetic.

Revision 1.9.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:04 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.9.4.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.4.1: +2371 -0 lines
sync with head.

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:15 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +101 -70 lines
Sync with head.

Revision 1.7.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:45 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +101 -70 lines
sync with head

Revision 1.9.4.1
Sun Oct 1 22:02:55 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.9: +0 -2371 lines
file wd33c93.c was added on branch yamt-lazymbuf on 2006-12-30 20:48:04 +0000

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Oct 1 22:02:55 2006 UTC (18 years, 2 months ago) by bjh21
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-lazymbuf, yamt-idlelwp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Allow wd33c93 attachments to choose what DMA mode it should use, and arrange
to use burst mode on sec(4), which makes it slightly but significantly faster.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Sep 26 22:45:25 2006 UTC (18 years, 2 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +100 -69 lines
Merge my bjh21-wd33c93 branch.  This improves message handling in general
and sync negotiation in particular.  Tested on sgimips (thanks to
Manuel Bouyer) and acorn26 (with my still-unfinished driver for the Acorn
SCSI Expansion Card).

Revision 1.6.2.10: download - view: text, markup, annotated - select for diffs
Sun Sep 24 14:14:11 2006 UTC (18 years, 2 months ago) by bjh21
Branches: bjh21-wd33c93
Diff to: previous 1.6.2.9: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.9: +4 -4 lines
Pull up timecounter fix from trunk.

Revision 1.6.4.3: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:30 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.6.4.2: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.4.2: +4 -4 lines
sync with head.

Revision 1.7.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:50:03 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.7.4.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.4.1: +2340 -0 lines
sync with head

Revision 1.7.4.1
Tue Sep 5 17:31:31 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
FILE REMOVED
Changes since revision 1.7: +0 -2340 lines
file wd33c93.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:50:03 +0000

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Sep 5 17:31:31 2006 UTC (18 years, 3 months ago) by rumble
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base, bjh21-wd33c93-base
Branch point for: yamt-splraiseipl, rpaulo-netinet-merge-pcb, newlock2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4 lines
Make this work with timecounters.

Revision 1.6.4.2: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:57 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.6.4.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.4.1: +2340 -0 lines
sync with head.

Revision 1.6.2.9: download - view: text, markup, annotated - select for diffs
Tue Aug 29 21:30:24 2006 UTC (18 years, 3 months ago) by bjh21
Branches: bjh21-wd33c93
Diff to: previous 1.6.2.8: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.8: +2 -3 lines
Remove a rogue printf that crept into the last commit.

Revision 1.6.2.8: download - view: text, markup, annotated - select for diffs
Tue Aug 29 21:25:49 2006 UTC (18 years, 3 months ago) by bjh21
Branches: bjh21-wd33c93
Diff to: previous 1.6.2.7: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.7: +6 -2 lines
When reselecting a transfer that had DMA disabled, keep DMA disabled.

Revision 1.6.2.7: download - view: text, markup, annotated - select for diffs
Tue Aug 29 20:38:58 2006 UTC (18 years, 3 months ago) by bjh21
Branches: bjh21-wd33c93
Diff to: previous 1.6.2.6: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.6: +36 -20 lines
Add support for negotiating async transfers if the scsipi layer asks for
that, or if the target requests sync transfers but the scsipi layer hasn't
turned them on yet.  This is still some way from correctly implementing
the rules in SPI-5, but it's closer than it was.

Revision 1.6.2.6: download - view: text, markup, annotated - select for diffs
Tue Aug 29 20:08:09 2006 UTC (18 years, 3 months ago) by bjh21
Branches: bjh21-wd33c93
Diff to: previous 1.6.2.5: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.5: +3 -10 lines
At the end of sync transfer negotiations, record the actual synchronous
transfer agreement that's been reached, rather than rounding it up to
the next transfer period we can support.  This is particularly important
for target-initiated negotiations, since otherwise it might end up
transmitting at a lower than necessary rate.

Also, if we've agreed on sync transfer, don't silently try to use async
transfers just because the transfer period we've negotiated is a bit long.
It's possible we should renegotiate async transfers at that point, but for
now we'll just put up with it.

Revision 1.6.2.5: download - view: text, markup, annotated - select for diffs
Tue Aug 29 19:58:29 2006 UTC (18 years, 3 months ago) by bjh21
Branches: bjh21-wd33c93
Diff to: previous 1.6.2.4: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.4: +10 -2 lines
Add a couple of debugging messages for tracing transfer mode discussions
with the scsipi layer.

Revision 1.6.2.4: download - view: text, markup, annotated - select for diffs
Mon Aug 28 22:27:36 2006 UTC (18 years, 3 months ago) by bjh21
Branches: bjh21-wd33c93
Diff to: previous 1.6.2.3: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.3: +7 -6 lines
Print the attachment message in the attach routine rather than in the bus
reset routine.  This should avoid getting odd messages when things go badly
wrong.  While I'm there, re-arrange the attach message a bit (to look more
like the NCR53C9x one) and add the clock frequency to it.

Revision 1.6.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 22:05:37 2006 UTC (18 years, 3 months ago) by bjh21
Branches: bjh21-wd33c93
Diff to: previous 1.6.2.2: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.2: +4 -4 lines
Ignoring WDTR IN is rude.  Respond instead with MESSAGE REJECT OUT, like
any good initiator should.

Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 21:57:53 2006 UTC (18 years, 3 months ago) by bjh21
Branches: bjh21-wd33c93
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.1: +42 -39 lines
Rather than doing lots of sums every time we need to convert between
SCSI transfer period factors and WD33C93 TPx bits, build a little lookup
table of the available TPFs at startup and use that.  This is rather
easier to understand than the old way.

Connectedly, remove code that tested for sc_minsync==0, since that couldn't
reasonably be true.  Clients can use cf_flags to disable sync negotiation
if necessary.

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 28 18:20:08 2006 UTC (18 years, 3 months ago) by bjh21
Branches: bjh21-wd33c93
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +12 -5 lines
Reinstate my changes to the message-handling code, ensuring that we don't
release ACK until after we've decided whether we need to reply to a message,
since if we reply, we have to assert ATN before releasing ACK.

Revision 1.6.4.1
Sun Aug 27 22:32:54 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
FILE REMOVED
Changes since revision 1.6: +0 -2340 lines
file wd33c93.c was added on branch yamt-pdpolicy on 2006-09-03 15:23:57 +0000

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Aug 27 22:32:54 2006 UTC (18 years, 3 months ago) by bjh21
Branches: MAIN
CVS tags: yamt-pdpolicy-base8
Branch point for: yamt-pdpolicy, bjh21-wd33c93
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -18 lines
Revert revision 1.4: it seems to have caused serious problems on sgimips,
so I should probably leave it until I get my Indy going.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Aug 27 13:13:36 2006 UTC (18 years, 3 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4 lines
Use symbolic names for CSR values after reset.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Aug 26 23:55:22 2006 UTC (18 years, 3 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +18 -5 lines
When receiving a SCSI message, it's important not to deassert ACK on the last
byte until we've worked out what to do with the message, since if we plan
to reply to it we have to assert ATN before deasserting ACK.  Implement this.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Aug 26 22:37:07 2006 UTC (18 years, 3 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -12 lines
Use standard MSG_IS1BYTE, MSG_IS2BYTE, and MSG_ISEXTENDED macros rather
than rolling our own.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Aug 26 22:33:18 2006 UTC (18 years, 3 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +8 -8 lines
Use the 'z' size modifier when printfing size_t, so that GCC doesn't complain
on systems were size_t isn't unsigned int.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Aug 26 22:06:37 2006 UTC (18 years, 3 months ago) by bjh21
Branches: MAIN
Move the sgimips "sbic" driver from arch/sgimips/hpc/sbic.c to
dev/ic/wd33c93.c.  This may not be the best WD33C93 driver we've
got, but it's the most recently worked on and probably the most
portable, so it seems like a good basis for further work (and in
particular an acorn26 driver for the Acorn SCSI card).  There's
no functional change in this commit, and sgimips kernels still
compile.

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>