lkml.org 
[lkml]   [2001]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: compile errors on 2.4.2-ac16
On Thu, 8 Mar 2001, Ken Hill wrote:

> serial.c:5497: `ASYNC_NO_FLOW' undeclared (first use in this function)
> serial.c:5666: `ASYNC_NO_FLOW' undeclared (first use in this function)

On quick inspection, just looks like a renamed declaration.
Does this fix things ?

regards,

Dave.

diff -urN --exclude-from=/home/davej/.exclude linux/drivers/char/serial.c linux-dj/drivers/char/serial.c
--- linux/drivers/char/serial.c Fri Mar 9 03:59:02 2001
+++ linux-dj/drivers/char/serial.c Fri Mar 9 04:12:25 2001
@@ -5494,7 +5494,7 @@
if (--tmout == 0)
break;
} while((status & BOTH_EMPTY) != BOTH_EMPTY);
- if (info->flags & ASYNC_NO_FLOW)
+ if (info->flags & ASYNC_CONS_FLOW)
return;
tmout = 1000000;
while (--tmout && ((serial_in(info, UART_MSR) & UART_MSR_CTS) == 0));
@@ -5663,7 +5663,7 @@
*/
state = rs_table + co->index;
if (doflow == 0)
- state->flags |= ASYNC_NO_FLOW;
+ state->flags |= ASYNC_CONS_FLOW;
info = &async_sercons;
info->magic = SERIAL_MAGIC;
info->state = state;

--
| Dave Jones. http://www.suse.de/~davej
| SuSE Labs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.029 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site