summaryrefslogtreecommitdiffstats
path: root/drivers/char/cyclades.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-01-29 01:41:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-01-29 01:41:54 +0000
commitf969d69ba9f952e5bdd38278e25e26a3e4a61a70 (patch)
treeb3530d803df59d726afaabebc6626987dee1ca05 /drivers/char/cyclades.c
parenta10ce7ef2066b455d69187643ddf2073bfc4db24 (diff)
Merge with 2.3.27.
Diffstat (limited to 'drivers/char/cyclades.c')
-rw-r--r--drivers/char/cyclades.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c
index f795f96bb..655f11aff 100644
--- a/drivers/char/cyclades.c
+++ b/drivers/char/cyclades.c
@@ -699,6 +699,9 @@ cy_get_user(unsigned long *addr)
(ZFIRM_ID==cy_readl(&((struct FIRM_ID *) \
((card).base_addr+ID_ADDRESS))->signature)))
+#ifndef SERIAL_XMIT_SIZE
+#define SERIAL_XMIT_SIZE (MIN(PAGE_SIZE, 4096))
+#endif
#define WAKEUP_CHARS (SERIAL_XMIT_SIZE-256)
#define STD_COM_FLAGS (0)