freebsd-skq/share
ken 542b263658 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
..
colldef Euro support, part 2. 1999-01-21 19:41:38 +00:00
dict Note that we have removed some words form the original. 1998-12-25 00:56:09 +00:00
doc Find sendmail source under contrib now. 1998-08-05 01:36:06 +00:00
examples Update diskless and templated booting examples 1999-02-09 17:44:00 +00:00
info Print a human-readable warning and die if $INFODIR do not exist. 1998-05-09 22:15:19 +00:00
isdn Initial entry of ISDN4BSD into the FreeBSD tree. 1998-12-27 21:47:14 +00:00
man Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
me Year 2000 fixes 1997-12-20 22:31:37 +00:00
misc Add the new code for Palestine, with the comment that we don't know 1999-01-21 19:09:15 +00:00
mk Rewrote the changes in rev.1.53. Don't ignore errors from makeinfo. 1999-01-30 14:28:10 +00:00
mklocale Added support for DIS 8859-15 based locales using patch 1998-12-14 02:59:15 +00:00
skel Nuked setting of crt here too. 1998-09-02 14:10:22 +00:00
syscons - Fix errors in some keymap files. 1999-01-28 10:48:29 +00:00
tabset 444 -> ${SHAREMODE} 1998-01-03 14:13:48 +00:00
termcap lable -> label 1998-06-23 05:30:26 +00:00
timedef Euro support, part 2. 1999-01-21 19:41:38 +00:00
zoneinfo Copy from vendor branch. This mainly undoes most of the backing out of 1999-02-08 06:29:10 +00:00
Makefile oops- I must have had a mangeld Entries 1998-12-28 21:51:49 +00:00
Makefile.inc Reverted part of previous change and improved formatting. Switching 1998-03-07 09:06:09 +00:00