10 #include <linux/kernel.h>
11 #include <linux/pci.h>
12 #include <linux/export.h>
49 int i, has_io, has_mem;
67 if (dev->
resource[PCI_ROM_RESOURCE].end != 0) {
74 #ifdef CONFIG_PCI_DEBUG
83 #ifdef CONFIG_PCI_DEBUG
85 "%s\n", pci_name(dev));
119 outb(*(
const char *)src, addr);
130 outw(*(
const short *)src, addr);
141 outl(*(
const long *)src, addr);
152 *(
unsigned char *)dst =
inb(addr);
163 *(
unsigned short *)dst =
inw(addr);
177 *(
unsigned long *)dst =
inl(addr);