The NetBSD Project

CVS log for src/sys/dev/qbus/uba.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.83 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:15 2021 UTC (2 years, 8 months ago) by thorpej
Branch: 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, HEAD
Changes since 1.82: +4 -5 lines
Diff to previous 1.82 (colored)

Merge thorpej-cfargs2.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:58 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.81: +7 -5 lines
Diff to previous 1.81 (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.81 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:37 2019 UTC (4 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, 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.80: +3 -5 lines
Diff to previous 1.80 (colored)

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Revision 1.80 / (download) - annotate - [select for diffs], Mon May 22 17:22:29 2017 UTC (6 years, 10 months ago) by ragge
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20190609, 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, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.79: +2 -9 lines
Diff to previous 1.79 (colored)

Update copyright notice for Ludd (remove clause 3 & 4).

Revision 1.79 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:10 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: 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, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, 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, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, localcount-20160914, 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, jdolecek-ncq-base, jdolecek-ncq, cherry-xenmp-base, cherry-xenmp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.78: +2 -4 lines
Diff to previous 1.78 (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.78 / (download) - annotate - [select for diffs], Mon Nov 23 02:13:47 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, 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, matt-premerge-20091211
Branch point for: rmind-uvmplock
Changes since 1.77: +2 -3 lines
Diff to previous 1.77 (colored)

Remove some unecessary includes sys/user.h header.

Revision 1.77 / (download) - annotate - [select for diffs], Tue Mar 11 05:34:02 2008 UTC (16 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp
Changes since 1.76: +13 -14 lines
Diff to previous 1.76 (colored)

Rototill the vax code.  Switch to devicet/PRIV_ALLOC.  Cleanup vax autoconf
code.  Move to prototype definitions.  staticfy, constify, avoid casting.
Use device_* accessors.

Revision 1.76 / (download) - annotate - [select for diffs], Fri Oct 19 12:01:09 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: 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-base, 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
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.75: +4 -4 lines
Diff to previous 1.75 (colored)

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

Revision 1.75 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:30 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.74 / (download) - annotate - [select for diffs], Sat Mar 25 04:08:45 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: 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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, 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, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored)

Use device_parent().

Revision 1.73 / (download) - annotate - [select for diffs], Sun Dec 11 12:23:29 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

merge ktrace-lwp.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Aug 26 12:42:11 2005 UTC (18 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.71: +4 -4 lines
Diff to previous 1.71 (colored)

s/locdesc_t/int/g

Revision 1.71 / (download) - annotate - [select for diffs], Sat Feb 26 12:45:06 2005 UTC (19 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

White space nits.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Dec 14 02:32:03 2004 UTC (19 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.69: +10 -8 lines
Diff to previous 1.69 (colored)

use the generated macros in locators.h rather than hard-coded numbers
to index the cf_loc[] array.  reviewed by allen briggs.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Sep 8 20:13:52 2004 UTC (19 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.68: +7 -5 lines
Diff to previous 1.68 (colored)

use interface attribute / locator passing versions
of config_search()

Revision 1.68 / (download) - annotate - [select for diffs], Thu Aug 28 14:59:06 2003 UTC (20 years, 7 months ago) by ragge
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.67: +15 -2 lines
Diff to previous 1.67 (colored)

Keep track of which addresses that are used by devices, so that probing
do not fiddle with registers on already found devices.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:17 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.66: +34 -3 lines
Diff to previous 1.66 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Jun 18 08:58:34 2003 UTC (20 years, 10 months ago) by drochner
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.65: +2 -3 lines
Diff to previous 1.65 (colored)

don't #include <sys/dkstat.h> where it is (appearently) unused

Revision 1.65 / (download) - annotate - [select for diffs], Tue Apr 1 02:06:06 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Jan 1 00:10:24 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

Use aprint_normal() in cfprint routines.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Sep 27 03:18:18 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Sep 27 02:24:31 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver.  The cfdriver is then looked
up in a list which is built at run-time.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Sep 25 22:21:39 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.60: +2 -3 lines
Diff to previous 1.60 (colored)

Don't include <sys/map.h>.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Jun 1 23:51:02 2002 UTC (21 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups

Revision 1.59 / (download) - annotate - [select for diffs], Thu Nov 15 09:48:13 2001 UTC (22 years, 5 months ago) by lukem
Branch: 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, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.58: +2 -3 lines
Diff to previous 1.58 (colored)

don't need <sys/types.h> when including <sys/param.h>

Revision 1.58 / (download) - annotate - [select for diffs], Tue Nov 13 07:11:25 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.57: +4 -1 lines
Diff to previous 1.57 (colored)

add RCSIDs

Revision 1.57 / (download) - annotate - [select for diffs], Thu Apr 26 19:16:07 2001 UTC (22 years, 11 months ago) by ragge
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: kqueue
Changes since 1.56: +65 -1 lines
Diff to previous 1.56 (colored)

Add functions to allocate mapped-in qbus memory.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Apr 12 20:08:09 2001 UTC (23 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

splimp -> spluba.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Jun 28 17:09:44 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

remove include of <vm/vm.h>

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jun 26 14:21:13 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.53: +1 -2 lines
Diff to previous 1.53 (colored)

remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Jun 5 00:09:18 2000 UTC (23 years, 10 months ago) by matt
Branch: 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
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored)

Adjust to new evcnt stuff.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Jun 4 02:14:12 2000 UTC (23 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.51: +11 -23 lines
Diff to previous 1.51 (colored)

Start couting interrupts.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Apr 30 11:46:03 2000 UTC (23 years, 11 months ago) by ragge
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.50: +29 -26 lines
Diff to previous 1.50 (colored)

Add function uba_reset_establish() to register reset functions like
uba_intr_establish(). Basic framework for resource (BDP) allocation,
not yet finished.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Mar 30 12:45:39 2000 UTC (24 years ago) by augustss
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Remove register declarations.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jan 24 02:40:30 2000 UTC (24 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.48: +15 -2 lines
Diff to previous 1.48 (colored)

Revamp the VAX interrupt handling code.  Make it compatible with all the
other ports.  Clean up some things.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Jun 20 17:56:29 1999 UTC (24 years, 10 months ago) by ragge
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: thorpej_scsipi, chs-ubc2
Changes since 1.47: +9 -7 lines
Diff to previous 1.47 (colored)

Fix a erroneous malloc.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jun 6 19:14:49 1999 UTC (24 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.46: +26 -252 lines
Diff to previous 1.46 (colored)

Fix map register/DMA wait queues.
Still to do:
	BDP handling. Currently missing.
	Ubareset's won't work at all.

Revision 1.46 / (download) - annotate - [select for diffs], Thu May 27 16:04:13 1999 UTC (24 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.45: +0 -0 lines
Diff to previous 1.45 (colored)

Moved from ../dec/qbus/uba.c,v

Revision 1.45, Thu May 27 03:45:21 1999 UTC (24 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.44: +3 -3 lines
FILE REMOVED

Directory called qbus instead of uba, per request from Matt/Jason/...
(More describing name actually)

Revision 1.44, Wed May 26 01:26:18 1999 UTC (24 years, 11 months ago) by ragge
Branch: MAIN
Changes since 1.43: +5 -4 lines
FILE REMOVED

DZ-11 routines bus'ified. Small fixes to uba routines.

Revision 1.43, Mon May 24 20:12:58 1999 UTC (24 years, 11 months ago) by ragge
Branch: MAIN
Changes since 1.42: +17 -463 lines
FILE REMOVED

First step towards MI Unibus/Q22 bus code.

Revision 1.42, Tue Feb 2 18:37:20 1999 UTC (25 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.41: +7 -27 lines
FILE REMOVED

Another giant change: Allocate register space dynamic instead of compiled-in.
This is done on a physical page size basis, instead of virtual (as the
(on vax yet non-existing) bus_* routines does). This is similar to the
way uba allocation is done.

Revision 1.41, Tue Jan 19 22:57:47 1999 UTC (25 years, 3 months ago) by ragge
Branch: MAIN
Changes since 1.40: +2 -2 lines
FILE REMOVED

Fix some void pointers.

Revision 1.40, Tue Jan 19 21:04:48 1999 UTC (25 years, 3 months ago) by ragge
Branch: MAIN
Changes since 1.39: +34 -74 lines
FILE REMOVED

Allocate (almost) all interrupt vectors dynamically. Simplifies much
work when adding support for new machines and devices.

Revision 1.39, Fri Jan 1 21:43:18 1999 UTC (25 years, 3 months ago) by ragge
Branch: MAIN
Changes since 1.38: +10 -10 lines
FILE REMOVED

Giant change: NBPG now set to 4k and CLSIZE == 1 for vax. This change
made a whole bunch of annoying bugs disappear; mostly depending on
bad use of NBPG in non-MD code. The VAX port was the only port that
used this historical "feature".

The CL* macros should probably go away totally, there is no reason
at all to keep them.

Revision 1.38, Sun Nov 29 14:48:53 1998 UTC (25 years, 4 months ago) by ragge
Branch: MAIN
Changes since 1.37: +2 -2 lines
FILE REMOVED

the btoc/ctob/btop macros must use CLBYTES, not NBPG.  How this should
work in the long run is an open issue; some parts must be reworked
in a MI way.

Revision 1.37, Thu Nov 5 19:48:04 1998 UTC (25 years, 5 months ago) by ragge
Branch: MAIN
Changes since 1.36: +2 -2 lines
FILE REMOVED

EGCS fixes.

Revision 1.36, Sun Oct 18 18:51:29 1998 UTC (25 years, 6 months ago) by ragge
Branch: MAIN
Changes since 1.35: +7 -37 lines
FILE REMOVED

Support for DWBUA (BI to Unibus adapter) and KLESI-B (TMSCP tape ctlr) added.

Revision 1.35, Tue Oct 6 04:04:31 1998 UTC (25 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.34: +2 -2 lines
FILE REMOVED

Change backplace0 to mainbus0 (for consistency with other ports).
Remove unused function protocols from ka410.h and ka43.h
Fix some ka46 missing references

Revision 1.34, Sat Mar 21 10:24:29 1998 UTC (26 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.33: +2 -2 lines
FILE REMOVED

ubasetup() must be non-static. (used by QDSS)

Revision 1.33, Mon Mar 2 17:00:02 1998 UTC (26 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.32: +16 -1 lines
FILE REMOVED

Support for UVM on VAXen.

Revision 1.32, Sat Jan 24 14:16:33 1998 UTC (26 years, 3 months ago) by ragge
Branch: MAIN
Changes since 1.31: +27 -27 lines
FILE REMOVED

Remove __BROKEN_INDIRECT_CONFIG and change all drivers to use
config_search instead.

Revision 1.31, Sun Jan 18 22:09:14 1998 UTC (26 years, 3 months ago) by ragge
Branch: MAIN
Changes since 1.30: +2 -1 lines
FILE REMOVED

Make kernel compile & run again after latest config changes.

Revision 1.30, Mon Jan 12 20:52:50 1998 UTC (26 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +2 -5 lines
FILE REMOVED

Update for changes to config.

Revision 1.29, Sun Oct 13 03:35:24 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.28: +16 -16 lines
FILE REMOVED

backout previous kprintf change

Revision 1.28, Fri Oct 11 01:50:55 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.27: +16 -16 lines
FILE REMOVED

printf -> kprintf, sprintf -> ksprintf

Revision 1.27, Tue Aug 27 21:58:12 1996 UTC (27 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.26: +3 -3 lines
FILE REMOVED

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

Revision 1.26, Tue Aug 20 13:37:57 1996 UTC (27 years, 8 months ago) by ragge
Branch: MAIN
Changes since 1.25: +503 -659 lines
FILE REMOVED

Modified to get cleaner match/attach code for different parent buses.
Fix so that resource wait queueing works.
Changed all functions to take a pointer to uba_softc instead of unit
number, except for ubareset(). This must be done later.

Revision 1.25, Sat Jul 20 19:00:24 1996 UTC (27 years, 9 months ago) by ragge
Branch: MAIN
Changes since 1.24: +30 -30 lines
FILE REMOVED

CPU determine code. ts driver converted to new config. May work, untested.

Revision 1.24, Thu Jul 11 19:33:56 1996 UTC (27 years, 9 months ago) by ragge
Branch: MAIN
Changes since 1.23: +8 -9 lines
FILE REMOVED

Automatic changing of root device after boot now works.

Revision 1.23, Mon Jul 1 20:17:56 1996 UTC (27 years, 9 months ago) by ragge
Branch: MAIN
Changes since 1.22: +45 -171 lines
FILE REMOVED

Remove code that took care of old config devices. Don't support
old config anymore, all devices should use new config by now.
Add structures to handle DMA devices using new config.
Fixed bug that caused unwanted ubareset's on 11/780.

Revision 1.22, Mon Apr 8 18:37:34 1996 UTC (28 years ago) by ragge
Branch: MAIN
Changes since 1.21: +39 -32 lines
FILE REMOVED

Added prototypes to everything. Made all files compile with -Wall.

Revision 1.21, Mon Mar 18 16:47:31 1996 UTC (28 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.20: +26 -27 lines
FILE REMOVED

Ubareset are now possible, devices that wants it now set it up
during autoconfig. ifubareset (if_reset) no longer used, actually
it's just a normal ubareset and is now handled like that.

Revision 1.20, Sun Mar 17 22:56:46 1996 UTC (28 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.19: +25 -18 lines
FILE REMOVED

Convert all devices according to the changes to config.

Revision 1.19, Sat Mar 9 23:38:34 1996 UTC (28 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.18: +8 -3 lines
FILE REMOVED

Check on which SBI we are frobbing, not always 0.

Revision 1.18, Thu Mar 7 23:25:50 1996 UTC (28 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.17: +13 -12 lines
FILE REMOVED

Support for VAX 8600/8650 added. Works with lots of Unibus adapters,
and will probably work with Massbus adapters as well. (Not tested,
but it's the same code as for 11/780). Ubareset's may cause crashes
on 8600 also like 11/780, but they are more uncommon. No support
for console RL02 yet, but it's likely to come.

Revision 1.17, Sat Mar 2 14:09:57 1996 UTC (28 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.16: +84 -37 lines
FILE REMOVED

Add support for DW780. Note that ubareset's don't work properly.
This is not a problem on other Unibus adapters, but DW780's do
ubareset's more often. This needs to be fixed by someone someday.

Revision 1.16, Sun Feb 11 13:24:50 1996 UTC (28 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.15: +38 -105 lines
FILE REMOVED

Remove csralloc(), not usable anymore.
Add ubasetvec() to steal interrupt vectors for device drivers that
need more than one vector. Add prototype for it.

Revision 1.15, Fri Feb 2 22:57:43 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +4 -3 lines
FILE REMOVED

Fix type errors.

Revision 1.14, Fri Feb 2 18:59:34 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +3 -3 lines
FILE REMOVED

Fix #includes.

Revision 1.13, Fri Feb 2 18:08:38 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +24 -24 lines
FILE REMOVED

Fix #includes.

Revision 1.12, Thu Dec 28 19:17:07 1995 UTC (28 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +1 -2 lines
FILE REMOVED

Move the old-style disk instrumentation "structures" to a central location
(sys/kern/subr_disk.c) and note that they should/will be deperecated.

Revision 1.11, Wed Dec 13 19:02:57 1995 UTC (28 years, 4 months ago) by ragge
Branch: MAIN
Changes since 1.10: +12 -3 lines
FILE REMOVED

MicroVAX III support added.
Dummy match/attach routines for tmscp.
Conversion of uda.c towards new config.

Revision 1.10, Fri Dec 1 19:22:56 1995 UTC (28 years, 4 months ago) by ragge
Branch: MAIN
Changes since 1.9: +182 -166 lines
FILE REMOVED

UBA converted to new config. (uba's now can be *'ed). Bug causing
DMA writes to nonexistent memory pages fixed. Code for old config
of non-mass-storage devices removed. (they now must use new config).

Revision 1.9, Fri Nov 10 19:25:49 1995 UTC (28 years, 5 months ago) by ragge
Branch: MAIN
Changes since 1.8: +171 -212 lines
FILE REMOVED

Dynamic allocate uba_softc and interrupt vectors.
Allow for more that one uba.

Revision 1.8, Fri Jun 16 15:26:11 1995 UTC (28 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.7: +11 -4 lines
FILE REMOVED

d_reset reference removed. Calling of ubareset must be solved.

Revision 1.7, Thu Mar 30 20:55:34 1995 UTC (29 years ago) by ragge
Branch: MAIN
Changes since 1.6: +10 -5 lines
FILE REMOVED

Bug fixes of interrupt handlers.

Revision 1.6, Thu Feb 23 17:53:21 1995 UTC (29 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.5: +105 -22 lines
FILE REMOVED

Support for uVAXII, new tmscp driver added.

Revision 1.5, Mon Feb 13 00:44:21 1995 UTC (29 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.4: +107 -58 lines
FILE REMOVED

Fixes for new config.

Revision 1.4, Fri Nov 25 19:09:31 1994 UTC (29 years, 5 months ago) by ragge
Branch: MAIN
Changes since 1.3: +20 -3 lines
FILE REMOVED

New handling of pte:s for physio.

Revision 1.3, Wed Oct 26 08:02:41 1994 UTC (29 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.2: +4 -3 lines
FILE REMOVED

new RCS ID format.

Revision 1.2, Sat Oct 8 15:46:15 1994 UTC (29 years, 6 months ago) by ragge
Branch: MAIN
Changes since 1.1: +24 -17 lines
FILE REMOVED

Fixed bugs according to old memory system.

Revision 1.1, Tue Aug 2 20:21:22 1994 UTC (29 years, 8 months ago) by ragge
Branch: MAIN
FILE REMOVED

Initial VAX port merging.

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>