summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/se/770x/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/se/770x/io.c')
-rw-r--r--arch/sh/boards/se/770x/io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/boards/se/770x/io.c b/arch/sh/boards/se/770x/io.c
index 9941949331ab..c4550473d4c3 100644
--- a/arch/sh/boards/se/770x/io.c
+++ b/arch/sh/boards/se/770x/io.c
@@ -27,6 +27,8 @@ int sh_pcic_io_dummy;
static inline volatile __u16 *
port2adr(unsigned int port)
{
+ if (port & 0xff000000)
+ return ( volatile __u16 *) port;
if (port >= 0x2000)
return (volatile __u16 *) (PA_MRSHPC + (port - 0x2000));
else if (port >= 0x1000)
OpenPOWER on IntegriCloud