diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-03-07 18:59:12 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-03-07 18:59:12 +0000 |
commit | c3c2d5372de521f697103d4382015678a9f9d4ef (patch) | |
tree | 6f62680afe8bdf8702c0a5dbe1d698350c95544a /sys | |
parent | e855438d7a54e3ea87e99d0a4dabf617a91bf1ff (diff) |
print ASIC ID in hex too incase only the "superclass" of the ASIC is
recognized.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_bge.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 4c1afbdc1bb..0690a1a6d1a 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.53 2005/03/07 13:31:40 krw Exp $ */ +/* $OpenBSD: if_bge.c,v 1.54 2005/03/07 18:59:11 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2001 @@ -1779,11 +1779,11 @@ bge_attach(parent, self, aux) printf(", "); br = bge_lookup_rev(sc->bge_chipid); if (br == NULL) { - printf("unknown ASIC 0x%08x", sc->bge_chipid); + printf("unknown ASIC (0x%04x)", sc->bge_chipid >> 16); sc->bge_quirks = 0; } else { - printf("%s", br->br_name); - sc->bge_quirks = br->br_quirks; + printf("%s (0x%04x)", br->br_name, sc->bge_chipid >> 16); + sc->bge_quirks |= br->br_quirks; } printf(": %s", intrstr); |