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


Default branch: MAIN


Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 9 22:30:27 2022 UTC (11 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.31: +5 -5 lines
Diff to previous 1.31 (colored)

fix various typos in comments.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Aug 21 11:55:25 2021 UTC (17 months, 1 week ago) by andvar
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

fix some more typos in comments/log messages, improve wording as well.

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

Merge thorpej-cfargs2.

Revision 1.29.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 20:14:42 2021 UTC (17 months, 4 weeks ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Adapt to CFARGS().

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

Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

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

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

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

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:11 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Sun Feb 10 17:13:33 2019 UTC (3 years, 11 months ago) by christos
Branch: 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-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
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Introduce PR_ZERO to avoid open-coding memset()s everywhere. OK riastradh@.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Feb 8 09:05:19 2018 UTC (4 years, 11 months ago) by dholland
Branch: 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
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Typos.

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

update from HEAD

Revision 1.25.10.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:28 2017 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:28 2017 UTC (5 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jan 11 07:16:48 2017 UTC (6 years ago) by skrll
Branch: 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-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
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

adatper -> adapter

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

Rebase to HEAD as of a few days ago.

Revision 1.24.8.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:22 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.24: +7 -6 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with head.

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

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

Revision 1.24.22.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:38 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.24: +7 -6 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with head

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jan 22 15:21:08 2014 UTC (9 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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
Changes since 1.24: +7 -6 lines
Diff to previous 1.24 (colored)

fix unused variable warnings

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:23 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.23: +2 -4 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with head

Revision 1.24 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:02 2010 UTC (12 years, 2 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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
Changes since 1.23: +2 -4 lines
Diff to previous 1.23 (colored)

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) - annotate - [select for diffs], Wed May 13 17:19:24 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

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

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:45 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.19: +505 -503 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with head.

Revision 1.19.12.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:30:45 2009 UTC (13 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.19: +505 -503 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Feb 12 06:20:58 2009 UTC (13 years, 11 months ago) by rumble
Branch: 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
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored)

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) - annotate - [select for diffs], Tue Jan 27 11:26:15 2009 UTC (14 years ago) by tsutsui
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.21: +498 -498 lines
Diff to previous 1.21 (colored)

- 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) - annotate - [select for diffs], Sun Jan 25 15:23:42 2009 UTC (14 years ago) by bjh21
Branch: MAIN
Changes since 1.20: +20 -19 lines
Diff to previous 1.20 (colored)

Split device_t from wd33c93_softc.  Reviewed by cube; tested on sgimips
by tsutsui.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jan 20 20:57:26 2009 UTC (14 years ago) by bjh21
Branch: MAIN
Changes since 1.19: +6 -6 lines
Diff to previous 1.19 (colored)

Convert more printfs to aprint_* and use the latter more consistently.

Revision 1.18.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:28 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.18: +15 -16 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with HEAD.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Apr 8 12:07:27 2008 UTC (14 years, 9 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, 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
Changes since 1.18: +15 -16 lines
Diff to previous 1.18 (colored)

use aprint_*_dev and device_xname

Revision 1.17.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:27:18 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with HEAD

Revision 1.9.4.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:31:12 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.3: +3 -3 lines
Diff to previous 1.9.4.3 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:45:06 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

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) - annotate - [select for diffs], Thu Oct 25 22:38:02 2007 UTC (15 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Tue Oct 23 20:07:52 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.10.2.3: +3 -3 lines
Diff to previous 1.10.2.3 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:04 2007 UTC (15 years, 3 months ago) by ad
Branch: 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
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.9.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:35:21 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.2: +128 -95 lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:06:17 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.11: +124 -92 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 9 21:00:40 2007 UTC (15 years, 6 months ago) by ad
Branch: 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
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

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) - annotate - [select for diffs], Sun Jul 1 21:47:57 2007 UTC (15 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.10.2.2: +3 -3 lines
Diff to previous 1.10.2.2 (colored)

Adapt to callout API change.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sun May 27 14:30:07 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.10.2.1: +123 -91 lines
Diff to previous 1.10.2.1 (colored)

Sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Mon May 21 19:25:54 2007 UTC (15 years, 8 months ago) by rumble
Branch: MAIN
Changes since 1.15: +7 -7 lines
Diff to previous 1.15 (colored)

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) - annotate - [select for diffs], Mon May 21 18:56:32 2007 UTC (15 years, 8 months ago) by rumble
Branch: MAIN
Changes since 1.14: +17 -4 lines
Diff to previous 1.14 (colored)

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) - annotate - [select for diffs], Thu May 17 13:41:27 2007 UTC (15 years, 8 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.9.6.2: +103 -84 lines
Diff to previous 1.9.6.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Tue May 8 02:08:17 2007 UTC (15 years, 9 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.13: +6 -3 lines
Diff to previous 1.13 (colored)

Report whether we're using DMA and what type on attach, since I keep losing
track while testing.

Revision 1.13 / (download) - annotate - [select for diffs], Tue May 8 00:29:30 2007 UTC (15 years, 9 months ago) by rumble
Branch: MAIN
Changes since 1.12: +9 -4 lines
Diff to previous 1.12 (colored)

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) - annotate - [select for diffs], Tue May 8 00:20:15 2007 UTC (15 years, 9 months ago) by rumble
Branch: MAIN
Changes since 1.11: +93 -82 lines
Diff to previous 1.11 (colored)

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) - annotate - [select for diffs], Sat Mar 24 14:55:29 2007 UTC (15 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.9.6.1: +3 -3 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:24 2007 UTC (15 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:30 2007 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.9.6.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:53:48 2007 UTC (15 years, 10 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.9: +5 -4 lines
Diff to previous 1.9 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 5 17:55:19 2007 UTC (15 years, 11 months ago) by he
Branch: MAIN
Branch point for: vmlocking
Changes since 1.9: +5 -4 lines
Diff to previous 1.9 (colored)

Cast to char* before doing pointer arithmetic.

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:04 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.1: +2371 -0 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:15 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.7: +101 -70 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with head.

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:45 2006 UTC (16 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.7: +101 -70 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with head

Revision 1.9.4.1, Sun Oct 1 22:02:55 2006 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9: +0 -2371 lines
FILE REMOVED

file wd33c93.c was added on branch yamt-lazymbuf on 2006-12-30 20:48:04 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Sun Oct 1 22:02:55 2006 UTC (16 years, 4 months ago) by bjh21
Branch: 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
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

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) - annotate - [select for diffs], Tue Sep 26 22:45:25 2006 UTC (16 years, 4 months ago) by bjh21
Branch: MAIN
Changes since 1.7: +100 -69 lines
Diff to previous 1.7 (colored)

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) - annotate - [select for diffs], Sun Sep 24 14:14:11 2006 UTC (16 years, 4 months ago) by bjh21
Branch: bjh21-wd33c93
Changes since 1.6.2.9: +4 -4 lines
Diff to previous 1.6.2.9 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Pull up timecounter fix from trunk.

Revision 1.6.4.3 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:30 2006 UTC (16 years, 4 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.6.4.2: +4 -4 lines
Diff to previous 1.6.4.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head.

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:50:03 2006 UTC (16 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.7.4.1: +2340 -0 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head

Revision 1.7.4.1, Tue Sep 5 17:31:31 2006 UTC (16 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.7: +0 -2340 lines
FILE REMOVED

file wd33c93.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:50:03 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Tue Sep 5 17:31:31 2006 UTC (16 years, 5 months ago) by rumble
Branch: 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
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Make this work with timecounters.

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:57 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.6.4.1: +2340 -0 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored)

sync with head.

Revision 1.6.2.9 / (download) - annotate - [select for diffs], Tue Aug 29 21:30:24 2006 UTC (16 years, 5 months ago) by bjh21
Branch: bjh21-wd33c93
Changes since 1.6.2.8: +2 -3 lines
Diff to previous 1.6.2.8 (colored) to branchpoint 1.6 (colored)

Remove a rogue printf that crept into the last commit.

Revision 1.6.2.8 / (download) - annotate - [select for diffs], Tue Aug 29 21:25:49 2006 UTC (16 years, 5 months ago) by bjh21
Branch: bjh21-wd33c93
Changes since 1.6.2.7: +6 -2 lines
Diff to previous 1.6.2.7 (colored) to branchpoint 1.6 (colored)

When reselecting a transfer that had DMA disabled, keep DMA disabled.

Revision 1.6.2.7 / (download) - annotate - [select for diffs], Tue Aug 29 20:38:58 2006 UTC (16 years, 5 months ago) by bjh21
Branch: bjh21-wd33c93
Changes since 1.6.2.6: +36 -20 lines
Diff to previous 1.6.2.6 (colored) to branchpoint 1.6 (colored)

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) - annotate - [select for diffs], Tue Aug 29 20:08:09 2006 UTC (16 years, 5 months ago) by bjh21
Branch: bjh21-wd33c93
Changes since 1.6.2.5: +3 -10 lines
Diff to previous 1.6.2.5 (colored) to branchpoint 1.6 (colored)

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) - annotate - [select for diffs], Tue Aug 29 19:58:29 2006 UTC (16 years, 5 months ago) by bjh21
Branch: bjh21-wd33c93
Changes since 1.6.2.4: +10 -2 lines
Diff to previous 1.6.2.4 (colored) to branchpoint 1.6 (colored)

Add a couple of debugging messages for tracing transfer mode discussions
with the scsipi layer.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Mon Aug 28 22:27:36 2006 UTC (16 years, 5 months ago) by bjh21
Branch: bjh21-wd33c93
Changes since 1.6.2.3: +7 -6 lines
Diff to previous 1.6.2.3 (colored) to branchpoint 1.6 (colored)

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) - annotate - [select for diffs], Mon Aug 28 22:05:37 2006 UTC (16 years, 5 months ago) by bjh21
Branch: bjh21-wd33c93
Changes since 1.6.2.2: +4 -4 lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored)

Ignoring WDTR IN is rude.  Respond instead with MESSAGE REJECT OUT, like
any good initiator should.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Mon Aug 28 21:57:53 2006 UTC (16 years, 5 months ago) by bjh21
Branch: bjh21-wd33c93
Changes since 1.6.2.1: +42 -39 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored)

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) - annotate - [select for diffs], Mon Aug 28 18:20:08 2006 UTC (16 years, 5 months ago) by bjh21
Branch: bjh21-wd33c93
Changes since 1.6: +12 -5 lines
Diff to previous 1.6 (colored)

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 (16 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.6: +0 -2340 lines
FILE REMOVED

file wd33c93.c was added on branch yamt-pdpolicy on 2006-09-03 15:23:57 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 27 22:32:54 2006 UTC (16 years, 5 months ago) by bjh21
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8
Branch point for: yamt-pdpolicy, bjh21-wd33c93
Changes since 1.5: +5 -18 lines
Diff to previous 1.5 (colored)

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) - annotate - [select for diffs], Sun Aug 27 13:13:36 2006 UTC (16 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Use symbolic names for CSR values after reset.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 26 23:55:22 2006 UTC (16 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.3: +18 -5 lines
Diff to previous 1.3 (colored)

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) - annotate - [select for diffs], Sat Aug 26 22:37:07 2006 UTC (16 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.2: +5 -12 lines
Diff to previous 1.2 (colored)

Use standard MSG_IS1BYTE, MSG_IS2BYTE, and MSG_ISEXTENDED macros rather
than rolling our own.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Aug 26 22:33:18 2006 UTC (16 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.1: +8 -8 lines
Diff to previous 1.1 (colored)

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) - annotate - [select for diffs], Sat Aug 26 22:06:37 2006 UTC (16 years, 5 months ago) by bjh21
Branch: 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.

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




CVSweb <webmaster@jp.NetBSD.org>