static int conf12_setup_io(struct pci_access *a) { if (conf12_io_enabled < 0) conf12_io_enabled = intel_setup_io(a); return conf12_io_enabled; }
static void conf12_init(struct pci_access *a) { #ifdef PCI_OS_DOS locate_pci_ids(a); #endif #ifdef PCI_OS_OS2 locate_pci_ids(a); #endif if (!intel_setup_io()) a->error("You need to be root to have access to I/O ports."); }
static void conf12_init(struct pci_access *a) { if (!intel_setup_io()) a->error("You need to be root to have access to I/O ports."); }