Browse Source

Debug message fixes.

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

+ 3
- 0
src/drivers/bus/eisa.c View File

171
 	outb ( enabled ? EISA_CMD_ENABLE : 0,
171
 	outb ( enabled ? EISA_CMD_ENABLE : 0,
172
 	       eisa->ioaddr + EISA_GLOBAL_CONFIG );
172
 	       eisa->ioaddr + EISA_GLOBAL_CONFIG );
173
 	udelay ( 1000 ); /* Must wait 800 */
173
 	udelay ( 1000 ); /* Must wait 800 */
174
+
175
+	DBG ( "EISA %s device %hhx\n", ( enabled ? "enabled" : "disabled" ),
176
+	      eisa->slot );
174
 }
177
 }

+ 3
- 2
src/drivers/bus/isapnp.c View File

555
 			      isapnp->prod_id,
555
 			      isapnp->prod_id,
556
 			      isa_id_string( isapnp->vendor_id,
556
 			      isa_id_string( isapnp->vendor_id,
557
 					     isapnp->prod_id ),
557
 					     isapnp->prod_id ),
558
-			      id->name, driver->name );
558
+			      id->name, device_driver->name );
559
 			isapnp->name = id->name;
559
 			isapnp->name = id->name;
560
 			return 1;
560
 			return 1;
561
 		}
561
 		}
622
 	/* Return all cards to Wait for Key state */
622
 	/* Return all cards to Wait for Key state */
623
 	isapnp_wait_for_key ();
623
 	isapnp_wait_for_key ();
624
 
624
 
625
-	DBG ( "ISAPnP activated device %hhx.%hhx\n",
625
+	DBG ( "ISAPnP %s device %hhx.%hhx\n",
626
+	      ( activation ? "activated" : "deactivated" ),
626
 	      isapnp->csn, isapnp->logdev );
627
 	      isapnp->csn, isapnp->logdev );
627
 }
628
 }
628
 
629
 

+ 1
- 1
src/drivers/bus/mca.c View File

96
 		if ( MCA_ID ( mca ) == id->id ) {
96
 		if ( MCA_ID ( mca ) == id->id ) {
97
 			DBG ( "MCA found ID %hx (device %s) "
97
 			DBG ( "MCA found ID %hx (device %s) "
98
 			      "matching driver %s\n",
98
 			      "matching driver %s\n",
99
-			      id->name, id->id, driver->name );
99
+			      id->name, id->id, device_driver->name );
100
 			mca->name = id->name;
100
 			mca->name = id->name;
101
 			return 1;
101
 			return 1;
102
 		}
102
 		}

Loading…
Cancel
Save