1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/share
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
..
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
examples Update diskless and templated booting examples 1999-02-09 17:44:00 +00:00
info
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
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
syscons - Fix errors in some keymap files. 1999-01-28 10:48:29 +00:00
tabset
termcap
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