PCIR_BARS
#define PCIR_BAR(x) (PCIR_BARS + (x) * 4)
#define PCI_RID2BAR(rid) (((rid) - PCIR_BARS) / 4)