Browse Source

Added debugging messages for activation/deactivation of logical devices.

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
d11ea1e44b
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      src/drivers/bus/isapnp.c

+ 7
- 0
src/drivers/bus/isapnp.c View File

@@ -517,6 +517,10 @@ void activate_isapnp_device ( struct isapnp_device *isapnp,
517 517
 	
518 518
 	/* Return all cards to Wait for Key state */
519 519
 	isapnp_wait_for_key ();
520
+
521
+	DBG ( "ISAPnP activated logical device %hhx on CSN %hhx "
522
+	      "with ioaddr %hx and IRQ %d\n",
523
+	      logdev, isapnp->csn, isapnp->ioaddr, isapnp->irqno );
520 524
 }
521 525
 
522 526
 /*
@@ -536,4 +540,7 @@ void deactivate_isapnp_device ( struct isapnp_device *isapnp,
536 540
 	
537 541
 	/* Return all cards to Wait for Key state */
538 542
 	isapnp_wait_for_key ();
543
+
544
+	DBG ( "ISAPnP deactivated logical device %hhx on CSN %hhx\n",
545
+	      logdev, isapnp->csn );
539 546
 }

Loading…
Cancel
Save