Adds vmstat/iostat kernel support and more verbose device probe info
authorPhil Sutherland <philsuth@mycroft.dialix.oz.au>
Sun, 8 Aug 1993 00:00:00 +0000 (00:00 +0000)
committerPhil Sutherland <philsuth@mycroft.dialix.oz.au>
Sun, 8 Aug 1993 00:00:00 +0000 (00:00 +0000)
commit6b9305fda0fe58dbdd6b713d2c74dd2df3096a67
tree658b874aec5cc7c7e6fcc3c32c94ff4813f5dcef
parent42659b0ae8788f628479ce4f71c5fd8488ca461c
Adds vmstat/iostat kernel support and more verbose device probe info
Fix config so that you can have devices without irqs

This patch adds the symbol names to icu.s that vmstat expects
the interrupt counters to be called.  It also adds code to config
so that the names of the interrupts are written at the end of vectors.s
so vmstat can report real device names.  It also cleans up and enables
the logging of stray interrupts.  The counters for false interrupts
are added but the fix for them is not (the fix I have is not done
very good.) A false interrupt is when a device asserts it's interrupt
signal, then removes it before the 8259 can latch it.  This is the number
one cause of stray IRQ7's and IRQ15's.

Additional device probe information is now printed.  This includes
ending I/O address (many drivers do not return the correct value from a
probe this still needs to be fixed), memory address and size, driver
flags passed in by config.

It is now possible to configure devices that do not use an irq,
this is especially handy for the new lpa driver.

During a boot from floppy the system now asks for a root floppy
disk.  Also now reports root on sd0a when new SCSI code is used.

NOTE: The source for vmstat and iostat are added by other patches.

AUTHOR: Rodney W. Grimes (rgrimes@agora.rain.com) (vmstat/iostat, probe)
AUTHOR: Phil Sutherland (philsuth@mycroft.dialix.oz.au) (config no irqs)
AUTHOR: (???@sun-lamp) (autoconf.c add support for floppy swap)
386BSD-Patchkit: patch00117
usr/src/sys.386bsd/i386/i386/autoconf.c
usr/src/sys.386bsd/i386/i386/locore.s
usr/src/sys.386bsd/i386/isa/icu.s
usr/src/sys.386bsd/i386/isa/isa.c
usr/src/usr.sbin/config/mkglue.c
usr/src/usr.sbin/config/mkioconf.c