From 39cb4d8dbb1734348329a8edb716f62adf28f5e0 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 15 Apr 2005 16:56:18 +0000 Subject: [PATCH] Fix debug message --- src/drivers/bus/isapnp.c | 14 ++++++-------- 1 file 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();