freebsd-nq/sys/isa
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
..
ic Enable the FIFO on enhanced floppy controllers. This reduces the 1997-09-17 20:16:17 +00:00
atkbd_isa.c Update the alpha port to use the new syscons. 1999-01-23 16:53:30 +00:00
atkbdc_isa.c Update the alpha port to use the new syscons. 1999-01-23 16:53:30 +00:00
atrtc.c Fix tabs that should have been spaces. Some were in kernel error messages. 1998-12-14 13:30:29 +00:00
bt_isa.c Fix probes when a port address is specified. 1998-11-10 06:44:54 +00:00
fd.c Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
fdc.h Fixed corruption of the fd buffer queue. Once upon a time, the active 1999-01-15 09:15:27 +00:00
fdreg.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
isareg.h Move IO_PSMSIZE from kbdio.h to isareg.h. 1999-01-06 05:49:30 +00:00
isavar.h * Add hooks to allow the X server to access I/O ports and memory. 1998-11-15 18:25:17 +00:00
joy.c This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
ppc.c Fix compile warnings about missing braces around static initialization of unions. 1999-01-31 11:52:04 +00:00
ppcreg.h Distinguish EPP address/data register. Add EPP address register access to ppi. 1999-01-30 15:35:39 +00:00
psm.c Update the alpha port to use the new syscons. 1999-01-23 16:53:30 +00:00
rtc.h Improve a couple of comment. 1998-07-11 08:01:18 +00:00
sio.c Use suser() to check for super user rather than examining cr_uid directly. 1999-01-30 12:17:38 +00:00
sioreg.h Underlying ,v files were copied and detagged. Re-commit old versions 1998-09-26 14:00:29 +00:00
syscons_isa.c Update the alpha port to use the new syscons. 1999-01-23 16:53:30 +00:00
vga_isa.c Oops, the last commit contained a wrong patch. This is the correct one. 1999-02-05 12:58:40 +00:00