diff options
author | khali <khali> | 2007-02-12 10:05:46 +0000 |
---|---|---|
committer | khali <khali> | 2007-02-12 10:05:46 +0000 |
commit | 549fd604256368ba6088e7d62fc5002d801b98d0 (patch) | |
tree | 0065632a822a9258995cc9e5777ce3eeed465479 /dmioem.c | |
parent | f627542872b180b142c0fe508b01a302c3eb31da (diff) | |
download | dmidecode-549fd604256368ba6088e7d62fc5002d801b98d0.tar.gz |
Make the HP-specific types 209 and 221 output a bit more verbose.
Diffstat (limited to 'dmioem.c')
-rw-r--r-- | dmioem.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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]); |