projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: MS7712SE01 board support.
[powerpc.git]
/
arch
/
sh
/
boards
/
se
/
770x
/
io.c
diff --git
a/arch/sh/boards/se/770x/io.c
b/arch/sh/boards/se/770x/io.c
index
9941949
..
c455047
100644
(file)
--- 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)