serial8250: Add dl_read()/dl_write() callbacks
authorMagnus Damm <damm@opensource.se>
Wed, 2 May 2012 12:46:51 +0000 (21:46 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 21:04:40 +0000 (14:04 -0700)
commitcc419fa0d38c425e4ea7bffeed931b07b0a3e461
tree75a6c82980c7aa761e265b9ab7c3788fd77fa24d
parentf9a9111b540fd67db5dab332f4b83d86c90e27b1
serial8250: Add dl_read()/dl_write() callbacks

Convert serial_dl_read() and serial_dl_write() from macro
to 8250 specific callbacks. This change makes it easier to
support 8250 hardware with non-standard DLL and DLM register
configurations such as Alchemy, RM9K and upcoming Emma Mobile
UART hardware.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250.c
drivers/tty/serial/8250/8250.h