|
@@ -331,7 +331,7 @@ static inline void iounmap(void __iomem *addr)
|
|
#ifndef CONFIG_GENERIC_IOMAP
|
|
#ifndef CONFIG_GENERIC_IOMAP
|
|
static inline void __iomem *ioport_map(unsigned long port, unsigned int nr)
|
|
static inline void __iomem *ioport_map(unsigned long port, unsigned int nr)
|
|
{
|
|
{
|
|
- return (void __iomem *) port;
|
|
|
|
|
|
+ return PCI_IOBASE + (port & IO_SPACE_LIMIT);
|
|
}
|
|
}
|
|
|
|
|
|
static inline void ioport_unmap(void __iomem *p)
|
|
static inline void ioport_unmap(void __iomem *p)
|