PCI_RID_BUS_SHIFT
((((bus) & PCI_BUSMAX) << PCI_RID_BUS_SHIFT) | \
#define PCI_RID2BUS(rid) (((rid) >> PCI_RID_BUS_SHIFT) & PCI_BUSMAX)