The NetBSD Project

CVS log for src/sys/kern/subr_userconf.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.26.30.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:03 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.26: +6 -2 lines
Diff to previous 1.26 (unified) next main 1.27 (unified)

Sync with HEAD

Revision 1.26.28.1 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:55 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.26: +6 -2 lines
Diff to previous 1.26 (unified) next main 1.27 (unified)

Ssync with HEAD

Revision 1.26.22.1 / (download) - annotate - [select for diffs], Thu Sep 27 14:52:26 2018 UTC (5 years, 6 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.26: +6 -2 lines
Diff to previous 1.26 (unified) next main 1.27 (unified)

Pull up following revision(s) (requested by mrg in ticket #1037):

	sys/dev/usb/uhub.c: revision 1.139
	sys/external/bsd/dwc2/dwc2.c: revision 1.55
	sys/ddb/db_output.c: revision 1.34
	sys/ddb/db_command.c: revision 1.160
	sys/dev/usb/ehci.c: revision 1.264
	sys/dev/usb/xhci.c: revision 1.99
	sys/dev/usb/ehci.c: revision 1.265
	sys/kern/subr_userconf.c: revision 1.27
	sys/dev/usb/ehcivar.h: revision 1.46
	sys/dev/usb/ohci.c: revision 1.287
	sys/dev/usb/uhci.c: revision 1.284
	sys/dev/usb/usbdi.c: revision 1.178
	sys/dev/usb/usb.c: revision 1.172
	sys/dev/pci/xhci_pci.c: revision 1.14
	sys/dev/usb/usb.c: revision 1.173
	sys/dev/usb/usb.c: revision 1.174
	share/man/man4/usb.4: revision 1.110
	sys/ddb/db_command.c: revision 1.159
	sys/dev/usb/usb_subr.c: revision 1.227
	sys/dev/usb/uhcivar.h: revision 1.56
	(all via patch)

consolidate the handling of polling across HC drivers, and generic USB:
- don't take mutexes if polling
- normalise the code across all drivers
- add some not yet code to block discovery to/from polling
- minor CSE
- adjust comment for usbd_set_polling() to reality now i properly
  understand what it is used for and why.

this, with a hack to make RB_ASKNAME to wait 5 seconds allows boot -a
work with USB keyboards.  there are still multiple issues remaining:
- discovery and polling need to be mutually exclusive
- attachment of ukbd and wskbd is not handled by config_pending, and
  the 5 second delay isn't going to always be enough.

call cnpollc(1) and cnpollc(0) around cngetc().
(christos has a good idea to add a function that does all 3,
and we should switch all the callers in this sequence to use
it (and fix the MD ones missing it still).  not all can, as
eg, line-grabbing functions can use cngetsn(), which only
calls cnpollc() twice.)


When this file is used when not building the kernel (eg: /usr/sbin/crash)
make cnpollc() go away.


reorder some struct members to remove holes.


add config_pending usage to uhub and general USB device attachment.
- call config_pending_incr() and config_pending_decr() around attaching
  devices against "usbdevif" attribute.

uhub:
- convert sc_explorepending and sc_running to bool.  add new sc_first_explore.
- call config_pending_incr() at the start of uhub_attach().  dropped in
  uhub_explore(), if this is the first explore.


implement a gross hack to fix "boot -a" on systems with usb keyboards on
systems with ehci handover to uhci (and maybe ohci), and fix a similar
problem for "boot -s".

there is effort to ensure that all devices attached via USB are probed
before RB_ASKNAME or RB_SINGLE attempts to ask any questions on the console,
and largely this works, often by chance, today, for USB disks and root.
i've recently pushed this more into uhub and general USB device attachment
as well, and kept a config_pending reference across the first explore of
a bus.  these fix many issues with directly attached hubs.

however, on systems where devices connected to ehci ports are handed over
to a companion uhci or ohci port, it may not be the first, or even second,
bus explore that finds the device finally before attachment, and at this
point all config_pending references are dropped.

there is no direct communication between drivers, the potentials are
looked up but their device_t is only used for generic things like the name,
so informing the correct companion to expect a device and deal with the
config_pending references is not possible without some fairly ugly layer
violations or multi-level callbacks (eg, we have "ehci0", and usually an
the relevant companion, eg, "uhci2", but it is the uhub that uhci2 has
attached that will deal with the device attachment.)

with the above fixes to generic USB code, the disown happens during the
first explore.  the hack works by, at this point, checking if (a) root
is not mounted, (b) single user or ask name are set, and (c) if the hack
as not been triggered already.  if all 3 conditions are true, then a
config_pending_incr() is called and a callback is triggered for (default)
5 seconds to call config_pending_decr().  ehci detach pauses waiting for
this callback if scheduled.

this allows enough time for the uhub and the ukbd/wskbd to attach before
the RK_ASKROOT prompts appear.  testing shows it takes between 1.5 and
2 seconds for the keyboard to appear after the disown occurs.

Index: dev/usb/ehcivar.c
- new sc_compcallout, sc_compcallout, sc_complock, and a state for th
  handover hack.

Index: dev/usb/ehci.c
ehci_init():
- use aprint_normal_dev() instead of manual device_xname().
- initialise sc_compcallout, sc_compcallout, sc_complock, and sc_comp_state.
ehci_detach():
- if there are companion controllers, tear own the above, including waiting
  if there is a callback scheduled.
ehci_disown_callback():
- new callout to call config_pending_decr() in the the future.
  schedule this ca
ehci_disown_sched_callback():
- if booting to single user or asking names, call config_pending_incr() and
  schedule the callout above, default 5 second delay.
ehci_disown():
- if disowning a port call ehci_disown_sched_callback().
deal with partial attach failures in usb_attach vs usb_detach aka PR 53598.
- make sure xhci's sc->sc_ios is NULL if failure happens.
- rearrange usb_attach() / usb_doattach() to make it simpler to clean up.
- move usb_async_intr softint into usb_once_init().  previously, each USB
  controller would start a new one, and leave the old one leaked.
- handle controller interrupts without a bus attached


remove usb(4)'s "flags 1" code.  it has been dead for a while,
as it runs during the interrupts part of configuration now,
and all the devices try attach as early as possible, including
any root or boot required disk or keyboard device, which is
what this flag was for.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Sep 16 23:18:55 2018 UTC (5 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, 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-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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.26: +6 -2 lines
Diff to previous 1.26 (unified)

call cnpollc(1) and cnpollc(0) around cngetc().

(christos has a good idea to add a function that does all 3,
and we should switch all the callers in this sequence to use
it (and fix the MD ones missing it still).  not all can, as
eg, line-grabbing functions can use cngetsn(), which only
calls cnpollc() twice.)

Revision 1.25.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:29 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.25: +4 -55 lines
Diff to previous 1.25 (unified) next main 1.26 (unified)

Rebase to HEAD as of a few days ago.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:41:03 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.25: +4 -55 lines
Diff to previous 1.25 (unified) next main 1.26 (unified)

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.25.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:07 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.25: +4 -55 lines
Diff to previous 1.25 (unified) next main 1.26 (unified)

sync with head

Revision 1.26 / (download) - annotate - [select for diffs], Mon Dec 23 15:34:16 2013 UTC (10 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base-20171202, 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, 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-base, 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, 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, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat, netbsd-8
Changes since 1.25: +4 -55 lines
Diff to previous 1.25 (unified)

Remove local getsn and use cngetsn.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Aug 1 10:33:26 2011 UTC (12 years, 8 months ago) by drochner
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, 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, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.24: +10 -4 lines
Diff to previous 1.24 (unified)

modify parsing of device names so that it can deal with names which
have numbers is it, eg "i915drm*"

Revision 1.19.4.3 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:29 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.19.4.2: +0 -4 lines
Diff to previous 1.19.4.2 (unified) to branchpoint 1.19 (unified) next main 1.20 (unified)

sync with head

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:35 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.20: +9 -12 lines
Diff to previous 1.20 (unified) next main 1.21 (unified)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Tue May 31 23:28:53 2011 UTC (12 years, 10 months ago) by dyoung
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.23: +2 -6 lines
Diff to previous 1.23 (unified)

Don't use the C preprocessor to configure USERCONF.  Instead, either do
or do not link in subr_userconf.c and x86_userconf.c.

Provide no-op stubs for userconf_bootinfo(), userconf_init(), and
userconf_prompt().

Delete all occurrences of #include "opt_userconf.h" as well as USERCONF
and __HAVE_USERCONF_BOOTINFO #ifdef'age.

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Tue May 31 03:05:02 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.19.4.1: +9 -8 lines
Diff to previous 1.19.4.1 (unified) to branchpoint 1.19 (unified)

sync with head

Revision 1.23 / (download) - annotate - [select for diffs], Thu May 26 04:25:27 2011 UTC (12 years, 10 months ago) by uebayasi
Branch: MAIN
Changes since 1.22: +10 -8 lines
Diff to previous 1.22 (unified)

Support userconf(4) command in boot(8)/boot.cfg(5) on i386/amd64.

From jmmv@, no objections seen in the proposed thread:

	http://mail-index.netbsd.org/tech-kern/2009/01/22/msg004081.html

Revision 1.22 / (download) - annotate - [select for diffs], Tue May 24 16:41:23 2011 UTC (12 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (unified)

Use proper format string

Revision 1.21 / (download) - annotate - [select for diffs], Sun Apr 24 18:46:23 2011 UTC (12 years, 11 months ago) by rmind
Branch: MAIN
Changes since 1.20: +2 -3 lines
Diff to previous 1.20 (unified)

- Replace few malloc(9) uses with kmem(9).
- Rename buf_malloc() to buf_alloc(), fix comments.
- Remove some unnecessary inclusions.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:21 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (unified)

sync with head

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:28 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (unified) next main 1.20 (unified)

Sync with HEAD (-D20101022).

Revision 1.18.74.2 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:31 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.18.74.1: +3 -3 lines
Diff to previous 1.18.74.1 (unified) to branchpoint 1.18 (unified) next main 1.19 (unified)

sync with head

Revision 1.20 / (download) - annotate - [select for diffs], Sun Sep 12 16:06:08 2010 UTC (13 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (unified)

improve "const" consistency

Revision 1.18.74.1 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:19 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.18: +2 -8 lines
Diff to previous 1.18 (unified)

sync with head

Revision 1.19 / (download) - annotate - [select for diffs], Tue Oct 20 00:51:13 2009 UTC (14 years, 6 months ago) by snj
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.18: +2 -8 lines
Diff to previous 1.18 (unified)

Follow upstream's lead and remove third and fourth clauses (except on
from usr.sbin/mopd/common/pf.c, where only the ad clause is removed,
because it has a shared UCB copyright) on Mats O Jansson's files.

thorpej OK'd usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c, where he shares
copyright.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:38 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15: +41 -18 lines
Diff to previous 1.15 (unified) next main 1.16 (unified)

sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, 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-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, 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, 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, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, 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, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, 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-nb4-arm-base, matt-nb4-arm, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-nfs-mp
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (unified)

merge ktrace-lwp.

Revision 1.10.6.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:45 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.6.4: +98 -118 lines
Diff to previous 1.10.6.4 (unified) to branchpoint 1.10 (unified) next main 1.11 (unified)

Sync with HEAD. Here we go again...

Revision 1.17 / (download) - annotate - [select for diffs], Thu Sep 8 14:58:14 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.16: +21 -8 lines
Diff to previous 1.16 (unified)

make use of the locator information: print "?" if a locator is
at its default value, and accept "?" in the "change" command

Revision 1.16 / (download) - annotate - [select for diffs], Thu Aug 25 15:06:28 2005 UTC (18 years, 7 months ago) by drochner
Branch: MAIN
Changes since 1.15: +24 -14 lines
Diff to previous 1.15 (unified)

Replace the "locnames", attached to cfdata, which was solely good for
userconf, by more complete information (including default values) about
interface attributes, attached to the drivers which provide them.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jun 23 18:44:44 2005 UTC (18 years, 10 months ago) by thorpej
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.14: +60 -103 lines
Diff to previous 1.14 (unified)

Use ANSI decls, liberally apply static.

Revision 1.14 / (download) - annotate - [select for diffs], Sun May 29 22:24:15 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (unified)

- add const.
- remove unnecessary casts.
- add __UNCONST casts and mark them with XXXUNCONST as necessary.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:24 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.12: +8 -8 lines
Diff to previous 1.12 (unified) next main 1.13 (unified)

sync with -current

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:12 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.12: +8 -8 lines
Diff to previous 1.12 (unified) next main 1.13 (unified)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.10.6.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:52:00 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.6.3: +8 -8 lines
Diff to previous 1.10.6.3 (unified) to branchpoint 1.10 (unified)

Sync with HEAD.

Hi Perry!

Revision 1.13 / (download) - annotate - [select for diffs], Sat Feb 26 21:34:55 2005 UTC (19 years, 1 month ago) by perry
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
Changes since 1.12: +8 -8 lines
Diff to previous 1.12 (unified)

nuke trailing whitespace

Revision 1.10.6.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:12 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.6.2: +2 -2 lines
Diff to previous 1.10.6.2 (unified) to branchpoint 1.10 (unified)

Fix the sync with head I botched.

Revision 1.10.6.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:03 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.6.1: +0 -0 lines
Diff to previous 1.10.6.1 (unified) to branchpoint 1.10 (unified)

Sync with HEAD.

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:55 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10: +24 -24 lines
Diff to previous 1.10 (unified)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Wed Apr 21 18:40:38 2004 UTC (20 years ago) by itojun
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (unified)

kill sprintf, use snprintf

Revision 1.11 / (download) - annotate - [select for diffs], Tue Mar 23 13:22:04 2004 UTC (20 years, 1 month ago) by junyoung
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.10: +23 -23 lines
Diff to previous 1.10 (unified)

Nuke __P().

Revision 1.4.2.5 / (download) - annotate - [select for diffs], Mon Nov 11 22:14:00 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.4.2.4: +4 -8 lines
Diff to previous 1.4.2.4 (unified) to branchpoint 1.4 (unified) next main 1.5 (unified)

Catch up to -current

Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 22 03:27:47 2002 UTC (21 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: ktrace-lwp
Changes since 1.9: +4 -8 lines
Diff to previous 1.9 (unified)

Remove some variables that are set but not used.

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Fri Oct 18 02:44:55 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.3: +19 -20 lines
Diff to previous 1.4.2.3 (unified) to branchpoint 1.4 (unified)

Catch up to -current.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Thu Oct 10 18:43:15 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.3.2.2: +17 -18 lines
Diff to previous 1.3.2.2 (unified) next main 1.4 (unified)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.9 / (download) - annotate - [select for diffs], Fri Oct 4 01:50:53 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (unified)

Overhaul the way cfattach structures are looked up.  The cfdata entry
now carries the name of the attachment (e.g. "tlp_pci" or "audio"),
and cfattach structures are registered at boot time on a per-driver
basis.  The cfdriver and cfattach pointers are cached in the device
structure when attached.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Sep 27 02:24:34 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.7: +7 -7 lines
Diff to previous 1.7 (unified)

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.7 / (download) - annotate - [select for diffs], Thu Sep 26 04:07:35 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +12 -12 lines
Diff to previous 1.6 (unified)

Overhaul the way parent attachments are specified; instead of using
a vector of indices into the cfdata table to specify potential parents,
record the interface attributes that devices have and add a new "parent
spec" structure which lists the iattr, as well as optionally listing
specific parent device instances.

See:

    http://mail-index.netbsd.org/tech-kern/2002/09/25/0014.html

...for a detailed description.

While here, const poison some things, as suggested by Matt Thomas.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Sep 23 05:51:11 2002 UTC (21 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (unified)

Remove breaks after returns, unreachable returns and returns after
returns(!).

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 20:00:04 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.3.2.1: +4 -1 lines
Diff to previous 1.3.2.1 (unified)

Sync kqueue branch with -current.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:41 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.2: +4 -1 lines
Diff to previous 1.4.2.2 (unified) to branchpoint 1.4 (unified)

Catch up to -current.

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:53 2001 UTC (22 years, 5 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (unified) next main 1.5 (unified)

Sync the thorpej-mips-cache branch with -current.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 12 15:25:23 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, 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
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (unified)

add RCSIDs

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Fri Aug 24 00:11:37 2001 UTC (22 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.1: +895 -0 lines
Diff to previous 1.4.2.1 (unified) to branchpoint 1.4 (unified)

Catch up with -current.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:42 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (unified)

update to -current

Revision 1.4.2.1, Wed Jul 18 06:51:38 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4: +0 -895 lines
FILE REMOVED

file subr_userconf.c was added on branch nathanw_sa on 2001-08-24 00:11:37 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jul 18 06:51:38 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, nathanw_sa
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (unified)

bcopy -> memcpy

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jul 3 08:06:40 2001 UTC (22 years, 9 months ago) by itojun
Branch: MAIN
Branch point for: kqueue
Changes since 1.2: +1 -10 lines
Diff to previous 1.2 (unified)

remove a #ifdef __OpenBSD__ segment.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 2 23:02:11 2001 UTC (22 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (unified)

typo (should we get rid of this portion?

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 1 02:56:20 2001 UTC (22 years, 9 months ago) by gmcgarry
Branch: MAIN

In-kernel device configuration manager - allows modification
of device locators at run-time.

Written by Mats O Jansson <moj@stacken.kth.se>.  Reworked by
Jun-ichiro itojun Hagino <itojun@netbsd.org>.

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>