serial: rp2: New driver for Comtrol RocketPort 2 cards
Kevin Cernekee
maintainerPATCH v3 1/1 serial: rp2: New driver for Comtrol RocketPort 2 cards
Signed-off-by Kevin Cernekee <[email protected]>
--- drivers/tty/serial/Kconfig | 24 + drivers/tty/serial/Makefile | 1 + drivers/tty/serial/rp2.c | 892 ++++++++++++++++++++++++++++++++++++++ include/uapi/linux/serial_core.h | 3 + 4 files changed, 920 insertions(+) create mode 100644 drivers/tty/serial/rp2.c
V2->V3 changes:
- Don't try to unregister the device if rp2_fw_cb() fails
- Add MODULE_FIRMWARE declaration
drivers/tty/serial/Kconfig +24 -0
@@ -1447,4 +1447,28 @@ config SERIAL_ARC_NR_PORTS Set this to the number of serial ports you want the driver to support. +config SERIAL_RP2 + tristate "Comtrol RocketPort EXPRESS/INFINITY support" + depends on PCI + select SERIAL_CORE + help + This driver supports the Comtrol RocketPort EXPRESS and + RocketPort INFINITY families of PCI/PCIe multiport serial adapters. + These adapters use a "RocketPort 2" ASIC that is not compatible + with the original RocketPort driver (CONFIG_ROCKETPORT). + + To compile this driver as a module, choose M here: the + module will be called rp2. + + If you want to compile this driver into the kernel, say Y here. If + you don't have a suitable RocketPort card installed, say N. + +config SERIAL_RP2_NR_UARTS + int "Maximum number of RocketPort EXPRESS/INFINITY ports" + depends on SERIAL_RP2 + default "32" + help + If multiple cards are present, the default limit of 32 ports may + need to be increased. + endmenu
drivers/tty/serial/Makefile +1 -0
@@ -83,3 +83,4 @@ obj-$(CONFIG_SERIAL_SIRFSOC) += sirfsoc_uart.o obj-$(CONFIG_SERIAL_AR933X) += ar933x_uart.o obj-$(CONFIG_SERIAL_EFM32_UART) += efm32-uart.o obj-$(CONFIG_SERIAL_ARC) += arc_uart.o +obj-$(CONFIG_SERIAL_RP2) += rp2.o
drivers/tty/serial/rp2.c new file +892 -0
892 lines not on this page · raw message
include/uapi/linux/serial_core.h +3 -0
@@ -219,4 +219,7 @@/* ARC (Synopsys) on-chip UART */ #define PORT_ARC 101 +/* Rocketport EXPRESS/INFINITY */ +#define PORT_RP2 102 +#endif /* _UAPILINUX_SERIAL_CORE_H */
Signature · 1 line
1.7.10.4
Greg KH
maintainerQuoted 1 line · Kevin Cernekee
Signed-off-by Kevin Cernekee <[email protected]>
You seem to have forgotten a changelog entry here. Please provide some sort of information, and resend these two patches.
thanks,
greg k-h