freebsd-nq/sys/i386
Kenneth D. Merry 2a888f938e Add a prioritization field to the devstat_add_entry() call so that
peripheral drivers can determine where in the devstat(9) list they are
inserted.

This requires recompilation of libdevstat, systat, vmstat, rpc.rstatd, and
any ports that depend on the devstat code, since the size of the devstat
structure has changed.  The devstat version number has been incremented as
well to reflect the change.

This sorts devices in the devstat list in "more interesting" to "less
interesting" order.  So, for instance, da devices are now more important
than floppy drives, and so will appear before floppy drives in the default
output from systat, iostat, vmstat, etc.

The order of devices is, for now, kept in a central table in devicestat.h.
If individual drivers were able to make a meaningful decision on what
priority they should be at attach time, we could consider splitting the
priority information out into the various drivers.  For now, though, they
have no way of knowing that, so it's easier to put them in an easy to find
table.

Also, move the checkversion() call in vmstat(8) to a more logical place.

Thanks to Bruce and David O'Brien for suggestions, for reviewing this, and
for putting up with the long time it has taken me to commit it.  Bruce did
object somewhat to the central priority table (he would rather the
priorities be distributed in each driver), so his objection is duly noted
here.

Reviewed by:	bde, obrien
1999-02-10 00:04:13 +00:00
..
apm Perform APM power-off on power-off request, not halt request. 1998-12-10 23:36:14 +00:00
bios Perform APM power-off on power-off request, not halt request. 1998-12-10 23:36:14 +00:00
boot Don't refer to i386/isa/kbdio.h anymore. Use dev/kbd/atkbdcreg.h instead. 1999-01-11 03:50:01 +00:00
conf add isp specific config options and explanations 1999-02-09 01:03:17 +00:00
eisa Correct test in poll loop for determining that the mailbox is free to 1999-01-28 03:30:02 +00:00
i386 Adjust idle zero-page fill hysteresis based on tests. Use 2/3 and 4/5 1999-02-08 02:42:13 +00:00
ibcs2 Add missing poatch for ibcs2_ipc.h as well. 1999-02-09 15:53:21 +00:00
include Change the load address of the ELF dynamic linker from "2L*MAXDSIZ" 1999-02-07 23:49:56 +00:00
isa Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
linux Added call to elf_brand_inuse() to prevent you from cutting your own 1999-02-04 21:20:13 +00:00
pci Make the class code checks in function pci_cfgcheck less strict. 1997-12-20 09:04:25 +00:00
svr4 Added underscores to some names in svr4_locore.s so that it compiles 1999-02-06 08:41:06 +00:00
Makefile Make this ${.OBJDIR} and ${.CURDIR} aware. 1998-05-31 22:40:49 +00:00