diff --git a/include/pci.h b/include/pci.h index 8cffff8..318bff7 100644 --- a/include/pci.h +++ b/include/pci.h @@ -215,7 +215,7 @@ typedef struct /* structure of address conversion */ #define PCI_INTERRUPT_PIN(i) (((i) & 0xff00) >> 8) #define PCI_INTERRUPT_LINE(i) (((i)) & 0xff) -#define IS_PCI_MEM_BAR(I) ((i) & 1) == 0 +#define IS_PCI_MEM_BAR(i) ((i) & 1) == 0 #define IS_PCI_IO_BAR(i) ((i) & 1) == 1 #define PCI_MEMBAR_TYPE(i) (((i) & 0x6) >> 1) #define PCI_IOBAR_ADR(i) (((i) & 0xfffffffc))