jsm: correctly support multiple 4/8-port boards
authorAlexander Y. Fomichev <git.user@gmail.com>
Thu, 11 Jun 2009 11:56:00 +0000 (12:56 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:02 +0000 (08:51 -0700)
commit13858d36903990441a89eb342247b71436808eeb
treede1b0e1368e8163d910c8754cc15c1af0c294b6a
parent9bb41699ad5c74519dc054bfe469a8074799c863
jsm: correctly support multiple 4/8-port boards

If there are more then one 4/8-port board jsm_uart_port_init
allocate a line numbers of the second and further boards
from range of previous one.

This patch fixed the problem.

Signed-off-by: Alexander Y. Fomichev <git.user@gmail.com>
[printks fixed to add jsm: ]

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/jsm/jsm.h
drivers/serial/jsm/jsm_tty.c