diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2007-07-17 07:03:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:03 -0400 |
commit | b45d52797432bd6b5d9786dbda940eb8d0b9ed06 (patch) | |
tree | 1bc6d7961c37c5cab006976b90ab084a11f33457 /arch/mips/sibyte | |
parent | f9e86f419073605b4520848021cc042963c227c7 (diff) |
sb1250-duart.c: SB1250 DUART serial support
This is a driver for the SB1250 DUART, a dual serial port implementation
included in the Broadcom family of SOCs descending from the SiByte SB1250
MIPS64 chip multiprocessor. It is a new implementation replacing the
old-fashioned driver currently present in the linux-mips.org tree. It
supports all the usual features one would expect from a(n asynchronous)
serial driver, including modem line control (as far as hardware supports it
-- there is edge detection logic missing from the DCD and RI lines and the
driver does not implement polling of these lines at the moment), the serial
console, BREAK transmission and reception, including the magic SysRq. The
receive FIFO threshold is not maintained though.
The driver was tested with a SWARM board which uses a BCM1250 SOC (which is
dual MIPS64 CMP) and has both ports of the single DUART implemented wired
externally. Both were tested. Testing included using the ports as
terminal lines at 1200bps (which is the ports minimum), 115200bps and a
couple of random speeds inbetween. The modem lines were verified to
operate correctly. No testing was performed with a use as a network
interface, like with SLIP or PPP.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mips/sibyte')
-rw-r--r-- | arch/mips/sibyte/bcm1480/setup.c | 1 | ||||
-rw-r--r-- | arch/mips/sibyte/sb1250/setup.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/sibyte/bcm1480/setup.c b/arch/mips/sibyte/bcm1480/setup.c index bdaac34ae708..89f29233cae1 100644 --- a/arch/mips/sibyte/bcm1480/setup.c +++ b/arch/mips/sibyte/bcm1480/setup.c | |||
@@ -31,6 +31,7 @@ | |||
31 | unsigned int sb1_pass; | 31 | unsigned int sb1_pass; |
32 | unsigned int soc_pass; | 32 | unsigned int soc_pass; |
33 | unsigned int soc_type; | 33 | unsigned int soc_type; |
34 | EXPORT_SYMBOL(soc_type); | ||
34 | unsigned int periph_rev; | 35 | unsigned int periph_rev; |
35 | unsigned int zbbus_mhz; | 36 | unsigned int zbbus_mhz; |
36 | 37 | ||
diff --git a/arch/mips/sibyte/sb1250/setup.c b/arch/mips/sibyte/sb1250/setup.c index f4a6169aa0a4..2d5c6d8b41f2 100644 --- a/arch/mips/sibyte/sb1250/setup.c +++ b/arch/mips/sibyte/sb1250/setup.c | |||
@@ -31,6 +31,7 @@ | |||
31 | unsigned int sb1_pass; | 31 | unsigned int sb1_pass; |
32 | unsigned int soc_pass; | 32 | unsigned int soc_pass; |
33 | unsigned int soc_type; | 33 | unsigned int soc_type; |
34 | EXPORT_SYMBOL(soc_type); | ||
34 | unsigned int periph_rev; | 35 | unsigned int periph_rev; |
35 | unsigned int zbbus_mhz; | 36 | unsigned int zbbus_mhz; |
36 | EXPORT_SYMBOL(zbbus_mhz); | 37 | EXPORT_SYMBOL(zbbus_mhz); |