summaryrefslogtreecommitdiffstats
path: root/drivers/serial/jsm/jsm.h
diff options
context:
space:
mode:
authorAlexander Y. Fomichev <git.user@gmail.com>2009-06-11 12:56:00 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-11 08:51:02 -0700
commit13858d36903990441a89eb342247b71436808eeb (patch)
treede1b0e1368e8163d910c8754cc15c1af0c294b6a /drivers/serial/jsm/jsm.h
parent9bb41699ad5c74519dc054bfe469a8074799c863 (diff)
downloadop-kernel-dev-13858d36903990441a89eb342247b71436808eeb.zip
op-kernel-dev-13858d36903990441a89eb342247b71436808eeb.tar.gz
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 c0a3e27..4e5f3bd 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
OpenPOWER on IntegriCloud