drivers: serial: jsm: Enable support for Digi Classic adapters
This commit enables support for the Digi Classic adapters line in the jsm driver. This means changes in: - device probing code - device cleanup code - driver description (Kconfig) The init/cleanup code is based on the staging/dgnc driver. Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
95db1ccb15
commit
03a8482c17
@@ -425,6 +425,8 @@ int jsm_tty_init(struct jsm_board *brd)
|
||||
|
||||
if (brd->bd_uart_offset == 0x200)
|
||||
ch->ch_neo_uart = vaddr + (brd->bd_uart_offset * i);
|
||||
else
|
||||
ch->ch_cls_uart = vaddr + (brd->bd_uart_offset * i);
|
||||
|
||||
ch->ch_bd = brd;
|
||||
ch->ch_portnum = i;
|
||||
|
Reference in New Issue
Block a user