Re: compile errors on 2.4.2-ac16

From: davej@suse.de
Date: Thu Mar 08 2001 - 23:21:45 EST


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/



This archive was generated by hypermail 2b29 : Thu Mar 15 2001 - 21:00:09 EST