|
@@ -8,6 +8,7 @@
|
|
|
#include <linux/pci.h>
|
|
|
#include <linux/ioport.h>
|
|
|
#include <linux/io.h>
|
|
|
+#include <asm/pci.h>
|
|
|
|
|
|
#ifdef __io
|
|
|
void __iomem *ioport_map(unsigned long port, unsigned int nr)
|
|
@@ -23,6 +24,9 @@ EXPORT_SYMBOL(ioport_unmap);
|
|
|
#endif
|
|
|
|
|
|
#ifdef CONFIG_PCI
|
|
|
+unsigned int pci_flags = PCI_REASSIGN_ALL_RSRC;
|
|
|
+EXPORT_SYMBOL(pci_flags);
|
|
|
+
|
|
|
void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen)
|
|
|
{
|
|
|
resource_size_t start = pci_resource_start(dev, bar);
|