2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 23:31:39 +00:00

Debug message fixes.

This commit is contained in:
Michael Brown 2005-04-22 15:56:57 +00:00
parent 139d0fe481
commit db3a44b66d
3 changed files with 7 additions and 3 deletions

View File

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

View File

@ -555,7 +555,7 @@ static int isapnp_check_driver ( struct bus_dev *bus_dev,
isapnp->prod_id,
isa_id_string( isapnp->vendor_id,
isapnp->prod_id ),
id->name, driver->name );
id->name, device_driver->name );
isapnp->name = id->name;
return 1;
}
@ -622,7 +622,8 @@ void isapnp_device_activation ( struct isapnp_device *isapnp,
/* Return all cards to Wait for Key state */
isapnp_wait_for_key ();
DBG ( "ISAPnP activated device %hhx.%hhx\n",
DBG ( "ISAPnP %s device %hhx.%hhx\n",
( activation ? "activated" : "deactivated" ),
isapnp->csn, isapnp->logdev );
}

View File

@ -96,7 +96,7 @@ static int mca_check_driver ( struct bus_dev *bus_dev,
if ( MCA_ID ( mca ) == id->id ) {
DBG ( "MCA found ID %hx (device %s) "
"matching driver %s\n",
id->name, id->id, driver->name );
id->name, id->id, device_driver->name );
mca->name = id->name;
return 1;
}