aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/lsdev
Commit message (Collapse)AuthorAgeFilesLines
* Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>Stefan Eßer1994-11-021-10/+33
| | | | | | | Added PCI support code. Notes: svn path=/head/; revision=4098
* When -v not given, display longer `state' and no `parent'.Garrett Wollman1994-10-241-11/+32
| | | | Notes: svn path=/head/; revision=3837
* Updated to latest kernel code. Also provided a friendlier output format,Garrett Wollman1994-10-234-27/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | which is enabled by default (use `-c' to get the old format). The new format looks like this (only the values are correct; this was taken on my machine with a slightly old kernel): Device St Parent Description ---------- -- ---------- -------------------------------------------------- isa0 NC - sc0 NC isa0 Parallel printer adapter ed0 NC isa0 SMC8216/SMC8216C sio0 NC isa0 RS-232 serial port sio1 NC isa0 RS-232 serial port fdc0 NC isa0 floppy disk/tape controller fd0 NC fdc0 floppy disk wdc0 NC isa0 ST506/ESDI/IDE disk controller wd0 NC wdc0 ST506/ESDI/IDE disk npx0 NC isa0 Floating-point unit Note that many of these fields could be made more informative; I tried to make my changes as unintrusive as possible. See the `mcd' driver for an example of one which actually does something with the `state' field. Notes: svn path=/head/; revision=3817
* Change ``on'' to ``at'' globally.Garrett Wollman1994-10-181-7/+7
| | | | Notes: svn path=/head/; revision=3700
* First bugfix: isa devices print as `at isa?' rather than `on isa0'.Garrett Wollman1994-10-171-1/+1
| | | | Notes: svn path=/head/; revision=3675
* lsdev(8), a user-land utility to query the device configuration databaseGarrett Wollman1994-10-175-0/+423
managed by kern_devconf.c. A useful feature is that the following script generates almost well-formed config-file lines for all ISA devices in the system: lsdev -t isa | awk '{ print "device $0" }' lsdev -t disk | awk '{ print "disk $0" }' Notes: svn path=/cvs2svn/branches/ours/; revision=3673