10 Jan 2008 00:35
[PATCH] [SERIAL] qe-uart: add support for Freescale QUICCEngine UART
Timur Tabi <timur <at> freescale.com>
2008-01-09 23:35:06 GMT
2008-01-09 23:35:06 GMT
Add file ucc_uart.c, a serial device driver for the Freescale QUICCEngine. Update the Kconfig and Makefile accordingly. Signed-off-by: Timur Tabi <timur <at> freescale.com> --- drivers/serial/Kconfig | 10 + drivers/serial/Makefile | 1 + drivers/serial/ucc_uart.c | 1507 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1518 insertions(+), 0 deletions(-) create mode 100644 drivers/serial/ucc_uart.c diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index d7e1996..d962b74 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig <at> <at> -1284,4 +1284,14 <at> <at> config SERIAL_OF_PLATFORM Currently, only 8250 compatible ports are supported, but others can easily be added. +config SERIAL_QE + tristate "Freescale QUICC Engine serial port support" + depends on QUICC_ENGINE + select SERIAL_CORE + select FW_LOADER + default n + help + This driver supports the QE serial ports on Freescale embedded + PowerPC that contain a QUICC Engine. + endmenu(Continue reading)
>> +#define UCC_WAIT_CLOSING 100
This is how long to wait after receiving a close request for characters to be
sent out before actually closing the device. I just used the same value as the
CPM serial driver.
>> + u16 tx_state; /* 0xC6, TX state */
>
> __be16?
Oops.
>> +/*
>> + * Set the modem control lines
>> + *
>> + * We currently don't support setting modem control lines, but this
>> function
>> + * needs to exist, otherwise the kernel will panic.
>> + */
>> +void qe_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
>> +{
>> +}
>
> What's the issue w/support of this? (maybe a comment related to why its
RSS Feed