Przeglądaj źródła

Added debugging messages for activation/deactivation of logical devices.

tags/v0.9.3
Michael Brown 19 lat temu
rodzic
commit
d11ea1e44b
1 zmienionych plików z 7 dodań i 0 usunięć
  1. 7
    0
      src/drivers/bus/isapnp.c

+ 7
- 0
src/drivers/bus/isapnp.c Wyświetl plik

@@ -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
 }

Ładowanie…
Anuluj
Zapisz