summaryrefslogtreecommitdiffstats
path: root/drivers/serial/jsm/jsm.h
diff options
context:
space:
mode:
authorAlexander Y. Fomichev <git.user@gmail.com>2009-06-11 13:56:00 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-11 17:51:02 +0200
commit13858d36903990441a89eb342247b71436808eeb (patch)
treede1b0e1368e8163d910c8754cc15c1af0c294b6a /drivers/serial/jsm/jsm.h
parenttty: iuu_phoenix: update version number. (diff)
downloadlinux-13858d36903990441a89eb342247b71436808eeb.tar.xz
linux-13858d36903990441a89eb342247b71436808eeb.zip
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>
Diffstat (limited to 'drivers/serial/jsm/jsm.h')
-rw-r--r--drivers/serial/jsm/jsm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/jsm/jsm.h b/drivers/serial/jsm/jsm.h
index c0a3e2734e24..4e5f3bde0461 100644
--- a/drivers/serial/jsm/jsm.h
+++ b/drivers/serial/jsm/jsm.h
@@ -61,6 +61,7 @@ enum {
if ((DBG_##nlevel & jsm_debug)) \
dev_printk(KERN_##klevel, pdev->dev, fmt, ## args)
+#define MAXLINES 256
#define MAXPORTS 8
#define MAX_STOPS_SENT 5