drochner
241cff4694
make use of the locator information: print "?" if a locator is
...
at its default value, and accept "?" in the "change" command
2005-09-08 14:58:14 +00:00
drochner
6036af9fc4
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.
2005-08-25 15:06:28 +00:00
thorpej
6e4d6e6cdb
Use ANSI decls, liberally apply static.
2005-06-23 18:44:44 +00:00
christos
efb6943313
- add const.
...
- remove unnecessary casts.
- add __UNCONST casts and mark them with XXXUNCONST as necessary.
2005-05-29 22:24:14 +00:00
perry
da8abec863
nuke trailing whitespace
2005-02-26 21:34:55 +00:00
itojun
d2f1c029b9
kill sprintf, use snprintf
2004-04-21 18:40:37 +00:00
junyoung
a222c81884
Nuke __P().
2004-03-23 13:22:03 +00:00
simonb
0b2999620f
Remove some variables that are set but not used.
2002-10-22 03:27:47 +00:00
thorpej
d90d300b7b
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.
2002-10-04 01:50:53 +00:00
thorpej
d1ad2ac4f2
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.
2002-09-27 02:24:06 +00:00
thorpej
fc0fe0347d
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.
2002-09-26 04:07:35 +00:00
simonb
4e3613273b
Remove breaks after returns, unreachable returns and returns after
...
returns(!).
2002-09-23 05:51:10 +00:00
lukem
adc783d537
add RCSIDs
2001-11-12 15:25:01 +00:00
thorpej
1071f796f4
bcopy -> memcpy
2001-07-18 06:51:38 +00:00
itojun
d5b4c4a05d
remove a #ifdef __OpenBSD__ segment.
2001-07-03 08:06:40 +00:00
itojun
ebdb9f12f3
typo (should we get rid of this portion?
2001-07-02 23:02:11 +00:00
gmcgarry
d6182a9e77
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>.
2001-07-01 02:56:20 +00:00