summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorMichael Brown2005-04-15 18:56:18 +0200
committerMichael Brown2005-04-15 18:56:18 +0200
commit39cb4d8dbb1734348329a8edb716f62adf28f5e0 (patch)
treef25dd940ab978b33b21816084fb32efd4b84b7ae /src/drivers
parentNow compiles. (diff)
downloadipxe-39cb4d8dbb1734348329a8edb716f62adf28f5e0.tar.gz
ipxe-39cb4d8dbb1734348329a8edb716f62adf28f5e0.tar.xz
ipxe-39cb4d8dbb1734348329a8edb716f62adf28f5e0.zip
Fix debug message
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/bus/isapnp.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/drivers/bus/isapnp.c b/src/drivers/bus/isapnp.c
index df25485f..acd3b54f 100644
--- a/src/drivers/bus/isapnp.c
+++ b/src/drivers/bus/isapnp.c
@@ -351,14 +351,12 @@ static int isapnp_try_isolate ( void ) {
/* Give the device a CSN */
isapnp_max_csn++;
- DBG ( "ISAPnP isolation found card "
- "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx:%hhx:%hhx "
- "(checksum %hhx), assigning CSN %hhx\n",
- identifier.bytes[0], identifier.bytes[1],
- identifier.bytes[2], identifier.bytes[3],
- identifier.bytes[4], identifier.bytes[5],
- identifier.bytes[6], identifier.bytes[7],
- identifier.checksum, isapnp_max_csn );
+ DBG ( "ISAPnP isolation found card %hhx ID %hx:%hx (\"%s\") "
+ "serial %x checksum %hhx, assigning CSN %hhx\n",
+ identifier.vendor_id, identifier.prod_id,
+ isa_id_string ( identifier.vendor_id,
+ identifier.prod_id ),
+ identifier.serial, identifier.checksum, isapnp_max_csn );
isapnp_write_csn ( isapnp_max_csn );
isapnp_delay();