summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorMichael Brown2005-04-15 16:31:08 +0200
committerMichael Brown2005-04-15 16:31:08 +0200
commitd11ea1e44bb9eef5105b14a5ece0cab83e790699 (patch)
treeb8e5271cbb613f5a0e11ce53d6dafc11577fd7a7 /src/drivers
parentRead current ioaddr and irqno from PnP registers. (diff)
downloadipxe-d11ea1e44bb9eef5105b14a5ece0cab83e790699.tar.gz
ipxe-d11ea1e44bb9eef5105b14a5ece0cab83e790699.tar.xz
ipxe-d11ea1e44bb9eef5105b14a5ece0cab83e790699.zip
Added debugging messages for activation/deactivation of logical devices.
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/bus/isapnp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/bus/isapnp.c b/src/drivers/bus/isapnp.c
index 0cc352e08..9969f1f96 100644
--- a/src/drivers/bus/isapnp.c
+++ b/src/drivers/bus/isapnp.c
@@ -517,6 +517,10 @@ void activate_isapnp_device ( struct isapnp_device *isapnp,
/* Return all cards to Wait for Key state */
isapnp_wait_for_key ();
+
+ DBG ( "ISAPnP activated logical device %hhx on CSN %hhx "
+ "with ioaddr %hx and IRQ %d\n",
+ logdev, isapnp->csn, isapnp->ioaddr, isapnp->irqno );
}
/*
@@ -536,4 +540,7 @@ void deactivate_isapnp_device ( struct isapnp_device *isapnp,
/* Return all cards to Wait for Key state */
isapnp_wait_for_key ();
+
+ DBG ( "ISAPnP deactivated logical device %hhx on CSN %hhx\n",
+ logdev, isapnp->csn );
}