Skip to content

Commit

Permalink
serial: rp2: New driver for Comtrol RocketPort 2 cards
Browse files Browse the repository at this point in the history
This driver supports the 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).

Tested with the RocketPort EXPRESS Octa DB9 and Quad DB9.  Also added an
old RocketPort 8J PCI card to the same system to verify that rocket.c and
rp2.c coexist peacefully.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Kevin Cernekee authored and Greg Kroah-Hartman committed Jan 18, 2013
1 parent b9d4239 commit 7d9f49a
Show file tree
Hide file tree
Showing 4 changed files with 913 additions and 0 deletions.
24 changes: 24 additions & 0 deletions drivers/tty/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1458,4 +1458,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
1 change: 1 addition & 0 deletions drivers/tty/serial/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,4 @@ obj-$(CONFIG_SERIAL_TEGRA) += serial-tegra.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
Loading

0 comments on commit 7d9f49a

Please sign in to comment.