chip0: <PCI to 0x80 bridge (vendor=10e0 device=8849)> at device 0.0 on pci0

Isn't really that useful.

chip0: <PCI to Other bridge (vendor=10e0 device=8849)> at device 0.0 on pci0

is more in keeping with the spirit of the rest of the code.

Previous behavior with regard to truely unknown bridges unchanged.

"<Anti-Bill> Tell you what: you have commit privs now. You do it."
This commit is contained in:
mdodd 1999-08-09 21:11:44 +00:00
parent 031dfc456a
commit 674e3eeff5

View File

@ -1,6 +1,6 @@
/**************************************************************************
**
** $Id: pcisupport.c,v 1.122 1999/06/24 04:06:26 jlemon Exp $
** $Id: pcisupport.c,v 1.123 1999/07/16 01:00:30 msmith Exp $
**
** Device driver for DEC/INTEL PCI chipsets.
**
@ -696,6 +696,7 @@ pci_bridge_type(device_t dev)
case PCIS_BRIDGE_PCMCIA: strcpy(tmpbuf, "PCI to PCMCIA"); break;
case PCIS_BRIDGE_NUBUS: strcpy(tmpbuf, "PCI to NUBUS"); break;
case PCIS_BRIDGE_CARDBUS: strcpy(tmpbuf, "PCI to CardBus"); break;
case PCIS_BRIDGE_OTHER: strcpy(tmpbuf, "PCI to Other"); break;
default:
snprintf(tmpbuf, sizeof(tmpbuf),
"PCI to 0x%x", pci_get_subclass(dev));