Driver for kontron PMC-6L interface card
Hi!
Here's driver for PMC-6L interface card. It is against 2.6.27 (sorry). It seems to mostly work. It is quite an interesting card, for example it timestamps incoming characters.
Problems remaining:
1) Due to ringbuffer design, I don't know how to handle input buffer overrun.
2) stop_rx is currently a nop. I'm not sure if it is required? I guess I could set RX buffer size to zero....?
I hope I did get the locking right.
Signed-off-by Pavel Machek <[email protected]>
/drivers/serial/Kconfig +8 -0
@@ -1343,6 +1343,14 @@ If you have enabled the serial port on the Hilscher NetX SoC you can make it the console by answering Y to this option. +config SERIAL_PMC6L + tristate "Serial ports on PMC-6L interface board" + select SERIAL_CORE + depends on PCI + help + Select this if you have PMC-6L interface board. Up-to 6 + serial ports are provided there, based on configuration. + config SERIAL_OF_PLATFORM tristate "Serial port on Open Firmware platform bus" depends on PPC_OF
/drivers/serial/Makefile +1 -0
@@ -67,5 +67,6 @@ obj-$(CONFIG_SERIAL_NETX) += netx-serial.o obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o +obj-$(CONFIG_SERIAL_PMC6L) += pmc6l.o obj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
/drivers/serial/pmc6l.c +936 -0
936 lines not on this page · raw message