The NetBSD Project

CVS log for src/sys/arch/newsmips/dev/sc_wrap.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Dec 20 15:29:05 2023 UTC (11 months, 2 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -3 lines
Remove unnecessary <sys/malloc.h>.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:01 2021 UTC (3 years, 3 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, 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.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
Merge thorpej-cfargs2.

Revision 1.32.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 02:49:38 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +3 -3 lines
Adapt to CFARGS().

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:44 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.31: preferred, colored
Changes since revision 1.31: +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.31.106.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:09:04 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +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.30.40.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:29 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +26 -24 lines
Sync with HEAD.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Apr 9 15:40:30 2008 UTC (16 years, 8 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-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, 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-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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, 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, 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, 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-premerge-20091211, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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-premerge-20101231, matt-mips64-base2, localcount-20160914, khorben-n900, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, 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, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cherry-xenmp-base, cherry-xenmp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, ad-audiomp2-base, ad-audiomp2
Branch point for: thorpej-cfargs
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +26 -24 lines
Split device_t/softc, with misc cleanup.

Revision 1.27.6.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:28:23 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.27.6.1: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.6.1: +3 -3 lines
sync with head.

Revision 1.28.26.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:49:41 2007 UTC (17 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.28.26.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.26.1: +3 -3 lines
Sync with HEAD.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:00:26 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-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
Branch point for: mjf-devfs2
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.28.26.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:52:12 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -2 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.27.6.1: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:07:39 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -2 lines
sync with head.

Revision 1.28.24.1: download - view: text, markup, annotated - select for diffs
Sat Feb 24 13:20:16 2007 UTC (17 years, 9 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +3 -2 lines
Pull up following revision(s) (requested by tsutsui in ticket #461):
	sys/arch/newsmips/dev/sc_wrap.c: revision 1.29
Add a missing break, which causes bogus debug messages on
check condition during device probe.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Feb 18 02:46:44 2007 UTC (17 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -2 lines
Add a missing break, which causes bogus debug messages on
check condition during device probe.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:24 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, 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-idlelwp, netbsd-4
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
merge ktrace-lwp.

Revision 1.26.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:17 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +42 -61 lines
sync with -current

Revision 1.26.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:37 2005 UTC (19 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +42 -61 lines
sync with head.

Revision 1.24.2.4: download - view: text, markup, annotated - select for diffs
Sun Feb 6 08:59:22 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.24.2.3: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.3: +42 -61 lines
Sync with HEAD.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Feb 6 02:18:02 2005 UTC (19 years, 10 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, yamt-km-base4, yamt-km-base3, yamt-km-base2, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +42 -61 lines
Misc cleanup:
- ANSI function decls
- remove __P()
- u_intNN_t -> uintNN_t
- remove register decls
- bcopy -> memcpy, strcpy
- bzero -> memset
- bcmp -> memcmp
- use malloc(9) with M_ZERO
- some KNF
etc.

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

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

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Sep 18 02:21:33 2004 UTC (20 years, 2 months ago) by mycroft
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.25: preferred, colored
Changes since revision 1.25: +2 -5 lines
We don't need to handle the "cold" flag here.

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

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:59:30 2003 UTC (21 years, 4 months ago) by lukem
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.24: preferred, colored
Changes since revision 1.24: +4 -1 lines
__KERNEL_RCSID()

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat May 10 09:46:25 2003 UTC (21 years, 7 months ago) by tsutsui
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
- Prepare common structures for interrupt handler and share them between
  Hyper-bus and AP-bus.
- Use LIST rather than static array for interrupt dispatcher.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri May 9 13:36:40 2003 UTC (21 years, 7 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +6 -4 lines
- Define and use struct hb_attach_args rather than struct confargs
  for hb devices.
- Move declarations for hb functions and macros to dev/hbvar.h.
- Define and use hb_badaddr() macro for hb devices.
- Declare news3400_badaddr() in machine/cpu.h rather than machine/autoconf.h.
- Remove unused stuff from machine/autoconf.h.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat May 3 18:10:54 2003 UTC (21 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
DMA, not dma nor Dma.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Apr 2 04:17:51 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -3 lines
Use PAGE_SIZE rather than NBPG.

Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:39:12 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.18.2.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.1: +476 -0 lines
Catch up to -current.

Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:34:34 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.2.1: +3 -4 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Oct 2 04:27:52 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -4 lines
Use CFATTACH_DECL().

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:34:24 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Declare all cfattach structures const.

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:47:00 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -3 lines
Sync kqueue branch with -current.

Revision 1.18.2.1
Wed Nov 14 18:15:30 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.18: +0 -477 lines
file sc_wrap.c was added on branch nathanw_sa on 2002-10-18 02:39:12 +0000

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Nov 14 18:15:30 2001 UTC (23 years ago) by thorpej
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -3 lines
Merge the thorpej-mips-cache branch onto the trunk.  This is an
overhaul of how caches are handled for NetBSD's MIPS ports.

Revision 1.17.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 22:24:10 2001 UTC (23 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -3 lines
Make the newsmips port compile with the thorpej-mips-cache branch.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:29:58 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +81 -82 lines
Catch up to -current.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Apr 25 17:53:19 2001 UTC (23 years, 7 months ago) by bouyer
Branches: MAIN
CVS tags: thorpej-mips-cache-base, 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.16: preferred, colored
Changes since revision 1.16: +81 -82 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.11.2.4: download - view: text, markup, annotated - select for diffs
Thu Mar 29 10:34:33 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.11.2.3: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.3: +5 -5 lines
Pass compile-test on i386

Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Mon Jan 22 18:25:14 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.11.2.2: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.2: +79 -80 lines
first cut at converting to thorpej_scsipi

Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:28:51 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.1: +2 -2 lines
Sync with HEAD.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Dec 3 01:42:30 2000 UTC (24 years ago) by matt
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Make this stuff compile with -wstrict-prototpes -wmissing-prototypes.
More use of prototypes inside includes should be done.

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:17:21 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +51 -11 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.15: download - view: text, markup, annotated - select for diffs
Thu Mar 23 06:42:12 2000 UTC (24 years, 8 months ago) by thorpej
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, minoura-xpg4dl-base, minoura-xpg4dl
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -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.11.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:33:07 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +49 -9 lines
Pull up to last week's -current.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Dec 18 05:00:56 1999 UTC (24 years, 11 months ago) by tsubai
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +30 -7 lines
Move dma_intr() to here.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Dec 17 06:05:40 1999 UTC (24 years, 11 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +15 -4 lines
Add interrupt level locator and use it instead of hard-coding.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Dec 17 03:21:12 1999 UTC (24 years, 11 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -3 lines
Use hb_intr_establish().

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Sep 30 23:01:12 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +9 -9 lines
Update for SCSIPI changes.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Sep 17 20:04:43 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -3 lines
Centralize the declaration and clearing of `cold'.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 5 19:43:46 1998 UTC (26 years 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.8: preferred, colored
Changes since revision 1.8: +2 -1 lines
Update HBAs to incorporate the new max_lun property.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Nov 19 21:47:21 1998 UTC (26 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -8 lines
Adapt to the new scsipi_adapter interface.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Oct 10 00:28:31 1998 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -3 lines
Garbage-collect the open_target_lu and close_target_lu entry points from
struct scsipi_adapter; they were not used.

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

Inspired by PR #6090, from Matt Jacob.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Aug 21 14:52:29 1998 UTC (26 years, 3 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
Change vm_offset_t to [pv]addr_t.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Aug 21 13:19:43 1998 UTC (26 years, 3 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +15 -8 lines
Correctly initialize scb struct.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jun 10 16:27:30 1998 UTC (26 years, 6 months ago) by tsubai
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +56 -121 lines
Move static variables to struct softc.
Remove unused struct members.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jun 1 19:31:05 1998 UTC (26 years, 6 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -6 lines
Change "extern var;" --> "extern int var;" and so on. (for egcs -Wall)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Mar 4 22:19:25 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4 lines
Rename NetBSD/news to NetBSD/newsmips.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Feb 18 13:48:11 1998 UTC (26 years, 9 months ago) by tsubai
Branches: MAIN
Initial import of NetBSD/news.

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>