summaryrefslogtreecommitdiffstats
path: root/src/drivers/bus/eisa.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-22 17:56:57 +0200
committerMichael Brown2005-04-22 17:56:57 +0200
commitdb3a44b66d17b948f0e95e2090d73b6ee440a33b (patch)
treee904fe9a7f8eb89203f37afa13d83c5ce2968b05 /src/drivers/bus/eisa.c
parentUpdated to new bus API, and improved using the 3c5x9 reference manual. (diff)
downloadipxe-db3a44b66d17b948f0e95e2090d73b6ee440a33b.tar.gz
ipxe-db3a44b66d17b948f0e95e2090d73b6ee440a33b.tar.xz
ipxe-db3a44b66d17b948f0e95e2090d73b6ee440a33b.zip
Debug message fixes.
Diffstat (limited to 'src/drivers/bus/eisa.c')
-rw-r--r--src/drivers/bus/eisa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/bus/eisa.c b/src/drivers/bus/eisa.c
index c50d4b2b6..e8fb5697b 100644
--- a/src/drivers/bus/eisa.c
+++ b/src/drivers/bus/eisa.c
@@ -171,4 +171,7 @@ void eisa_device_enabled ( struct eisa_device *eisa, int enabled ) {
outb ( enabled ? EISA_CMD_ENABLE : 0,
eisa->ioaddr + EISA_GLOBAL_CONFIG );
udelay ( 1000 ); /* Must wait 800 */
+
+ DBG ( "EISA %s device %hhx\n", ( enabled ? "enabled" : "disabled" ),
+ eisa->slot );
}