]> err.no Git - linux-2.6/commitdiff
sh-sci: sh7722 lacks scsptr registers
authorMagnus Damm <magnus.damm@gmail.com>
Wed, 23 Apr 2008 12:31:14 +0000 (21:31 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 8 May 2008 10:51:58 +0000 (19:51 +0900)
The sh7722 serial ports all lack SCSPTR registers, so mark them as
nonexistent in the register table.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.h

index 4d1c0e328a033d41f73e476ddc3b7fbe3ad60155..b0dac379dee5362f040e60ed08865ce7135731b2 100644 (file)
@@ -452,7 +452,11 @@ SCIF_FNS(SCSPTR,                   0,  0, 0x24, 16)
 SCIF_FNS(SCLSR,                                0,  0, 0x28, 16)
 #else
 SCIF_FNS(SCFDR,                      0x0e, 16, 0x1C, 16)
+#if defined(CONFIG_CPU_SUBTYPE_SH7722)
+SCIF_FNS(SCSPTR,                        0,  0, 0, 0)
+#else
 SCIF_FNS(SCSPTR,                        0,  0, 0x20, 16)
+#endif
 SCIF_FNS(SCLSR,                         0,  0, 0x24, 16)
 #endif
 #endif