Commit Graph

16 Commits

Author SHA1 Message Date
gibbs
2c21792fe1 Decend the list of ioaddrs and maddrs for eisa devices and print them out
for lsdev -c.
1996-01-31 18:06:52 +00:00
mpp
511d4f82b2 Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
bde
a9b0efbc48 Unspammed #includes.
Fixed printf format strings.
1995-12-13 15:10:56 +00:00
peter
e06b61c7c6 Add #include <vm/pmap.h> to make lsdev compile again after the last round
of include file changes....
1995-12-13 11:41:15 +00:00
phk
7192b4c2d9 Make this compile again by adding the necessary includes. 1995-11-17 16:29:24 +00:00
gibbs
82e16b1d4b Make lsdev eisaconf aware. 1995-11-10 01:33:51 +00:00
rgrimes
4f960dd75f Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
se
4564ae83e7 Moved "#include <pci/pcivar.h>" from "usr.sbin/lsdev/i386.c"
to "/sys/i386/include/devconf.h", where it really belongs.
1995-02-04 12:47:19 +00:00
se
0cdba524c9 Add #include <pci/pcivar.h> for definition of PCI_EXTERNAL_LEN.
Reviewed by:
Submitted by:
Obtained from:
1995-02-03 20:26:50 +00:00
ats
654c71c01b Changed an LSDEV 1 to LSDEV 8 . 1994-12-12 00:35:01 +00:00
se
9fc13e23e8 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Added PCI support code.
1994-11-02 23:27:36 +00:00
wollman
a20115b916 When -v not given, display longer state' and no parent'. 1994-10-24 22:21:51 +00:00
wollman
171476dff7 Updated to latest kernel code. Also provided a friendlier output format,
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.
1994-10-23 21:33:57 +00:00
wollman
9461adca3b Change `on'' to `at'' globally. 1994-10-18 22:01:58 +00:00
wollman
02d5912769 First bugfix: isa devices print as at isa?' rather than on isa0'. 1994-10-17 23:29:15 +00:00
wollman
8f8aac0e4e lsdev(8), a user-land utility to query the device configuration database
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" }'
1994-10-17 23:26:10 +00:00