From 549fd604256368ba6088e7d62fc5002d801b98d0 Mon Sep 17 00:00:00 2001 From: khali Date: Mon, 12 Feb 2007 10:05:46 +0000 Subject: Make the HP-specific types 209 and 221 output a bit more verbose. --- dmioem.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dmioem.c') diff --git a/dmioem.c b/dmioem.c index f5f4d43..2b731e3 100644 --- a/dmioem.c +++ b/dmioem.c @@ -88,14 +88,14 @@ static int dmi_decode_hp(struct dmi_header *h) while(h->length>=ptr+8) { if(data[ptr]==0x00 && data[ptr+1]==0x00) - printf("\tNIC %d [DISABLED]\n", nic); + printf("\tNIC %d: Disabled\n", nic); else if(data[ptr]==0xFF && data[ptr+1]==0xFF) - printf("\tNIC %d [NOT_INSTALLED]\n", nic); + printf("\tNIC %d: Not Installed\n", nic); else { - printf("\tNIC %d [%02x:%02x.%x]", - nic, data[ptr+1], data[ptr]>>3, data[ptr]&7); - printf(" %02X:%02X:%02X:%02X:%02X:%02X\n", + printf("\tNIC %d: PCI device %02x:%02x.%x, " + "MAC address %02X:%02X:%02X:%02X:%02X:%02X\n", + nic, data[ptr+1], data[ptr]>>3, data[ptr]&7, data[ptr+2], data[ptr+3], data[ptr+4], data[ptr+5], data[ptr+6], data[ptr+7]); -- cgit v1.2.1