Browse Source

Fix debug message

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
39cb4d8dbb
1 changed files with 6 additions and 8 deletions
  1. 6
    8
      src/drivers/bus/isapnp.c

+ 6
- 8
src/drivers/bus/isapnp.c View File

351
 
351
 
352
 		/* Give the device a CSN */
352
 		/* Give the device a CSN */
353
 		isapnp_max_csn++;
353
 		isapnp_max_csn++;
354
-		DBG ( "ISAPnP isolation found card "
355
-		      "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx:%hhx:%hhx "
356
-		      "(checksum %hhx), assigning CSN %hhx\n",
357
-		      identifier.bytes[0], identifier.bytes[1],
358
-		      identifier.bytes[2], identifier.bytes[3],
359
-		      identifier.bytes[4], identifier.bytes[5],
360
-		      identifier.bytes[6], identifier.bytes[7],
361
-		      identifier.checksum, isapnp_max_csn );
354
+		DBG ( "ISAPnP isolation found card %hhx ID %hx:%hx (\"%s\") "
355
+		      "serial %x checksum %hhx, assigning CSN %hhx\n",
356
+		      identifier.vendor_id, identifier.prod_id,
357
+		      isa_id_string ( identifier.vendor_id,
358
+				      identifier.prod_id ),
359
+		      identifier.serial, identifier.checksum, isapnp_max_csn );
362
 		
360
 		
363
 		isapnp_write_csn ( isapnp_max_csn );
361
 		isapnp_write_csn ( isapnp_max_csn );
364
 		isapnp_delay();
362
 		isapnp_delay();

Loading…
Cancel
Save