freebsd-nq/sys
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
..
alpha Adjust idle zero-page fill hysteresis based on tests. Use 2/3 and 4/5 1999-02-08 02:42:13 +00:00
amd64 Adjust idle zero-page fill hysteresis based on tests. Use 2/3 and 4/5 1999-02-08 02:42:13 +00:00
boot Remove dictHashSummary internal function; it used doubles. 1999-02-09 16:04:19 +00:00
cam Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
coda Removed a bogus cast to c_caddr_t. This is part of terminating 1999-01-29 07:23:53 +00:00
compat svr4 emulator will refuse to unload itself if it is currently in use. 1999-02-04 12:43:17 +00:00
compile
conf add isp specific config options and explanations 1999-02-09 01:03:17 +00:00
contrib/softupdates Gutted softdep_deallocate_dependencies and replaced it with a panic. It 1999-01-22 09:07:32 +00:00
ddb Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 23:45:44 +00:00
dev Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
fs Remove MAP_ENTRY_IS_A_MAP 'share' maps. These maps were once used to 1999-02-07 21:48:23 +00:00
geom Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
gnu Use suser() to check for super user rather than examining cr_uid directly. 1999-01-30 12:17:38 +00:00
i4b Update the pccard hooks to use a module style declaration instead. 1999-01-19 00:21:53 +00:00
i386 Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
isa Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
isofs/cd9660 Don't comment out dead code; remove it. 1999-01-31 11:54:29 +00:00
kern Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
libkern Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 02:26:20 +00:00
miscfs Remove MAP_ENTRY_IS_A_MAP 'share' maps. These maps were once used to 1999-02-07 21:48:23 +00:00
modules Honor ${LDFLAGS} for building svr4_genassym. This is part of fixing 1999-02-06 07:48:24 +00:00
msdosfs Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 22:42:27 +00:00
net Get rid of IFF_BROADCAST from default IFF_ slip options. This accidently 1999-02-02 00:28:29 +00:00
netatalk Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 22:42:27 +00:00
netatm Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 00:57:57 +00:00
netinet After wading in the cesspool of ip_input for an hour, I have managed to 1999-02-09 16:55:46 +00:00
netipx Make it possible to use lo0 as an internal IPX network. This is usefull 1999-02-06 10:48:11 +00:00
netkey #ifdef out unused function key_freetables. 1999-01-12 12:38:31 +00:00
netnatm Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
netns Make INET a proper option. 1998-01-08 23:42:31 +00:00
nfs Flush delayed-write data out prior to issuing a rename rpc. This appears 1999-02-06 07:48:56 +00:00
nfsclient Flush delayed-write data out prior to issuing a rename rpc. This appears 1999-02-06 07:48:56 +00:00
nfsserver Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 22:42:27 +00:00
ntfs First version. 1999-02-03 04:07:38 +00:00
pc98 Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
pccard Allow the interrupt allocated to the PCIC to be tuned from the kernel 1999-01-29 01:18:15 +00:00
pci Cleanup. Set all PCI parameters of importance. Set a define that will 1999-02-09 01:12:52 +00:00
posix4 Set PAGE_SIZE for _SC_PAGESIZE sysconf(). 1998-06-01 21:54:43 +00:00
powerpc Adjust idle zero-page fill hysteresis based on tests. Use 2/3 and 4/5 1999-02-08 02:42:13 +00:00
rpc
svr4 svr4 emulator will refuse to unload itself if it is currently in use. 1999-02-04 12:43:17 +00:00
sys Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
tools Make the vnode opv vector construction fully dynamic. Previously we 1998-11-10 09:04:09 +00:00
ufs Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 00:57:57 +00:00
vm Addendum to vm_map coalesce optimization. Also, this was backed-out 1999-02-09 01:39:29 +00:00
Makefile Backed out previous commit. It depends on a.out utilities and libraries 1998-12-30 12:06:08 +00:00