Standardised debug messages to make it easy to get a bus scan printout

(just build debugging versions of the relevant bus objects).
This commit is contained in:
Michael Brown
2005-04-14 23:32:36 +00:00
parent c7694a5322
commit ed92171527
4 changed files with 8 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ static int fill_eisa_device ( struct eisa_device *eisa ) {
eisa->prod_id = ( inb ( eisa->ioaddr + EISA_PROD_ID_LO ) << 8 )
+ inb ( eisa->ioaddr + EISA_PROD_ID_HI );
DBG ( "EISA slot %d (base %#hx) ID %hx:%hx (\"%s\")\n",
DBG ( "EISA found slot %d (base %#hx) ID %hx:%hx (\"%s\")\n",
eisa->slot, eisa->ioaddr, eisa->mfg_id, eisa->prod_id,
isa_id_string ( eisa->mfg_id, eisa->prod_id ) );