PCI_RID2BUS
return (pci_cfgregread(PCI_RID2BUS(softc->pci_rid),
dev = pci_find_bsf(PCI_RID2BUS(devid), PCI_RID2SLOT(devid),
#define RID2PCI_STR(d) PCI_RID2BUS(d), PCI_RID2SLOT(d), PCI_RID2FUNC(d)
softc->pci_dev = pci_find_bsf(PCI_RID2BUS(ivhd->Header.DeviceId),
if (PCI_RID2BUS(rid) != device_scope->Bus)
bus = PCI_RID2BUS(rid);
bus = PCI_RID2BUS(rid);