Broadcom SWARM Duart support
Subsystems (3)
PATCH 1/1 Broadcom SWARM Duart support
Add support for Broadcom SWARM Duart.
Signed-off-by Manish Lachwani <[email protected]>
Signed-off-by Deepak Saxena <[email protected]>
---
Applies to 2.6.21-rc4 with some fuzz in Kconfig. I am not orginal author and not a MIPS person, just trying to get this out of our internal-only tree.
drivers/char/Kconfig | 8 drivers/char/Makefile | 1 drivers/char/sb1250_duart.c | 910 ++++++++++++++++++++++++++++++++++++++++++++ include/linux/serial.h | 3 4 files changed, 921 insertions(+), 1 deletion(-)
drivers/char/Kconfig +8 -0
@@ -357,6 +357,14 @@ config ISTALLION To compile this driver as a module, choose M here: the module will be called istallion. +config SIBYTE_SB1250_DUART + bool "Support for BCM1xxx onchip DUART" + depends on MIPS && SIBYTE_SB1xxx_SOC=y + +config SIBYTE_SB1250_DUART_CONSOLE + bool "Console on BCM1xxx DUART" + depends on SIBYTE_SB1250_DUART + config AU1000_UART bool "Enable Au1000 UART Support" depends on SERIAL_NONSTANDARD && MIPS
drivers/char/Makefile +1 -0
@@ -28,6 +28,7 @@ obj-$(CONFIG_ISTALLION) += istallion.o obj-$(CONFIG_DIGIEPCA) += epca.o obj-$(CONFIG_SPECIALIX) += specialix.o obj-$(CONFIG_MOXA_INTELLIO) += moxa.o +obj-$(CONFIG_SIBYTE_SB1250_DUART) += sb1250_duart.o obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o obj-$(CONFIG_MOXA_SMARTIO) += mxser.o
drivers/char/sb1250_duart.c new file +910 -0
910 lines not on this page · raw message
include/linux/serial.h +2 -1
@@ -76,7 +76,8 @@ struct serial_struct {#define PORT_16654 11#define PORT_16850 12#define PORT_RSA 13/* RSA-DV II/S card */ -#define PORT_MAX 13 +#define PORT_SB1250 14 +#define PORT_MAX 14#define SERIAL_IO_PORT 0#define SERIAL_IO_HUB6 1
Signature · 4 lines
Deepak Saxena - [email protected] - http://www.plexity.net In the end, they will not say, "those were dark times," they will ask "why were their poets silent?" - Bertolt Brecht