| David S. Miller | 749805d | 2006-06-25 23:24:24 -0700 | [diff] [blame] | 1 | /* | 
|  | 2 | * Implement the sparc iomap interfaces | 
|  | 3 | */ | 
|  | 4 | #include <linux/pci.h> | 
|  | 5 | #include <linux/module.h> | 
|  | 6 | #include <asm/io.h> | 
|  | 7 |  | 
|  | 8 | /* Create a virtual mapping cookie for an IO port range */ | 
|  | 9 | void __iomem *ioport_map(unsigned long port, unsigned int nr) | 
|  | 10 | { | 
|  | 11 | return (void __iomem *) (unsigned long) port; | 
|  | 12 | } | 
|  | 13 |  | 
|  | 14 | void ioport_unmap(void __iomem *addr) | 
|  | 15 | { | 
|  | 16 | /* Nothing to do */ | 
|  | 17 | } | 
|  | 18 | EXPORT_SYMBOL(ioport_map); | 
|  | 19 | EXPORT_SYMBOL(ioport_unmap); | 
|  | 20 |  | 
| David S. Miller | 749805d | 2006-06-25 23:24:24 -0700 | [diff] [blame] | 21 | void pci_iounmap(struct pci_dev *dev, void __iomem * addr) | 
|  | 22 | { | 
|  | 23 | /* nothing to do */ | 
|  | 24 | } | 
| David S. Miller | 749805d | 2006-06-25 23:24:24 -0700 | [diff] [blame] | 25 | EXPORT_SYMBOL(pci_iounmap); |