PCIC_BRIDGE
PCIC_BRIDGE << CLASS_SHIFT | PCIS_BRIDGE_PCI << SUBCLASS_SHIFT);
if (class != PCIC_BRIDGE ||
PRIV_CFG_WR1(sc, PCIR_CLASS, PCIC_BRIDGE);
if (pci_get_class(dev) != PCIC_BRIDGE ||
if (pci_get_class(dev) != PCIC_BRIDGE
if (pci_get_class(dev) != PCIC_BRIDGE
if (pci_cfgregread(0, 0, 11, 0, PCIR_CLASS, 1) != PCIC_BRIDGE ||
if (pci_cfgregread(0, 0, 1, 0, PCIR_CLASS, 1) != PCIC_BRIDGE ||
if (pci_get_class(dev) != PCIC_BRIDGE ||
if (pci_get_class(dev) != PCIC_BRIDGE
if (pci_get_class(dev) != PCIC_BRIDGE
if (pci_get_class(dev) != PCIC_BRIDGE ||
if (pci_get_class(dev) != PCIC_BRIDGE
if (pci_get_class(dev) != PCIC_BRIDGE ||
if (pci_get_class(dev) != PCIC_BRIDGE
if (pci_get_class(dev) != PCIC_BRIDGE
if (pci_get_class(dev) == PCIC_BRIDGE)
if ((idx->cfg2 & PR_SX6K) && pci_get_class(GRANDPARENT(dev))==PCIC_BRIDGE &&
if ((idx->cfg2 & PR_TX4) && pci_get_class(GRANDPARENT(dev))==PCIC_BRIDGE &&
if (baseclass == PCIC_BRIDGE &&
if (pci_get_class(dev) == PCIC_BRIDGE &&
if ((pci_get_class(dev) == PCIC_BRIDGE) &&
case PCIC_BRIDGE:
case PCIC_BRIDGE:
{PCIC_BRIDGE, -1, 1, "bridge"},
{PCIC_BRIDGE, PCIS_BRIDGE_HOST, 1, "HOST-PCI"},
{PCIC_BRIDGE, PCIS_BRIDGE_ISA, 1, "PCI-ISA"},
{PCIC_BRIDGE, PCIS_BRIDGE_EISA, 1, "PCI-EISA"},
{PCIC_BRIDGE, PCIS_BRIDGE_MCA, 1, "PCI-MCA"},
{PCIC_BRIDGE, PCIS_BRIDGE_PCI, 1, "PCI-PCI"},
{PCIC_BRIDGE, PCIS_BRIDGE_PCMCIA, 1, "PCI-PCMCIA"},
{PCIC_BRIDGE, PCIS_BRIDGE_NUBUS, 1, "PCI-NuBus"},
{PCIC_BRIDGE, PCIS_BRIDGE_CARDBUS, 1, "PCI-CardBus"},
{PCIC_BRIDGE, PCIS_BRIDGE_RACEWAY, 1, "PCI-RACEway"},
if (cfg->baseclass == PCIC_BRIDGE && cfg->subclass == PCIS_BRIDGE_PCI)
DBI_WR1(sc, PCIR_CLASS, PCIC_BRIDGE);
if ((pci_get_class(dev) == PCIC_BRIDGE) &&
if (pci_get_class(dev) == PCIC_BRIDGE &&
if (pci_get_class(dev) != PCIC_BRIDGE ||
if (pci_get_class(dev) != PCIC_BRIDGE ||
if ((pci_get_class(dev) == PCIC_BRIDGE) &&
if ((pci_get_class(dev) != PCIC_BRIDGE) ||
if (class == PCIC_BRIDGE && subclass == PCIS_BRIDGE_HOST)
if (class == PCIC_BRIDGE && subclass == PCIS_BRIDGE_HOST)
if ((pci_get_class(dev) != PCIC_BRIDGE) ||
if ((pci_get_class(dev) != PCIC_BRIDGE) ||
pmc.pc_class = PCIC_BRIDGE;
if (conf->pc_class == PCIC_BRIDGE &&
pci_set_cfgdata8(pi, PCIR_CLASS, PCIC_BRIDGE);
pci_set_cfgdata8(pi, PCIR_CLASS, PCIC_BRIDGE);
{PCIC_BRIDGE, -1, "bridge"},
{PCIC_BRIDGE, PCIS_BRIDGE_HOST, "HOST-PCI"},
{PCIC_BRIDGE, PCIS_BRIDGE_ISA, "PCI-ISA"},
{PCIC_BRIDGE, PCIS_BRIDGE_EISA, "PCI-EISA"},
{PCIC_BRIDGE, PCIS_BRIDGE_MCA, "PCI-MCA"},
{PCIC_BRIDGE, PCIS_BRIDGE_PCI, "PCI-PCI"},
{PCIC_BRIDGE, PCIS_BRIDGE_PCMCIA, "PCI-PCMCIA"},
{PCIC_BRIDGE, PCIS_BRIDGE_NUBUS, "PCI-NuBus"},
{PCIC_BRIDGE, PCIS_BRIDGE_CARDBUS, "PCI-CardBus"},
{PCIC_BRIDGE, PCIS_BRIDGE_RACEWAY, "PCI-RACEway"},
{PCIC_BRIDGE, PCIS_BRIDGE_PCI_TRANSPARENT,
{PCIC_BRIDGE, PCIS_BRIDGE_INFINIBAND, "InfiniBand-PCI"},
{PCIC_BRIDGE, PCIS_BRIDGE_AS_PCI,