#define PCI_VENDOR_ID_INTEL 0x8086
#define PCI_VENDOR_ID_COMPAQ 0x0e11
-/* taken from <include/linux/ioport.h> */
+/* I/O resource flags, compatible with <include/linux/ioport.h> */
-#define IORESOURCE_PCI_EA_BEI (1<<5)
+#define PCI_IORESOURCE_PCI_EA_BEI (1<<5)
int pci_fill_info_v32(struct pci_dev *, int flags) VERSIONED_ABI;
int pci_fill_info_v33(struct pci_dev *, int flags) VERSIONED_ABI;
int pci_fill_info_v34(struct pci_dev *, int flags) VERSIONED_ABI;
+int pci_fill_info_v35(struct pci_dev *, int flags) VERSIONED_ABI;
/* params.c */
void pci_define_param(struct pci_access *acc, char *param, char *val, char *help);
char *module_alias; /* Linux kernel module alias */
char *label; /* Device name as exported by BIOS */
int numa_node; /* NUMA node */
- pciaddr_t flags[6]; /* Region IORESOURCE flags */
- pciaddr_t rom_flags; /* Expansion ROM IORESOURCE flags */
+ pciaddr_t flags[6]; /* PCI_IORESOURCE_* flags for regions */
+ pciaddr_t rom_flags; /* PCI_IORESOURCE_* flags for expansion ROM */
/* Fields used internally: */
struct pci_access *access;
printf("\tRegion %d: ", i);
else
putchar('\t');
- if (ioflg & IORESOURCE_PCI_EA_BEI)
+ if (ioflg & PCI_IORESOURCE_PCI_EA_BEI)
printf("[enhanced] ");
else if (pos && !flg) /* Reported by the OS, but not by the device */
{
if (!rom && !flg && !len)
return;
putchar('\t');
- if (ioflg & IORESOURCE_PCI_EA_BEI)
+ if (ioflg & PCI_IORESOURCE_PCI_EA_BEI)
printf("[enhanced] ");
else if ((rom & PCI_ROM_ADDRESS_MASK) && !(flg & PCI_ROM_ADDRESS_MASK))
{