compile errors on 2.4.2-ac16
serial.c: In function `wait_for_xmitr':
serial.c:5497: `ASYNC_NO_FLOW' undeclared (first use in this function) serial.c:5497: (Each undeclared identifier is reported only once serial.c:5497: for each function it appears in.)serial.c: In function `serial_console_setup':
serial.c:5666: `ASYNC_NO_FLOW' undeclared (first use in this function) make[3]: *** [serial.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/char' make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/char' make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2
ý:.žË›±Êâmçë¢kaŠÉb²ßìzwm…éb�ïîžË›±Êâmébžìÿ‘êçz_âžØ^n‡r¡ö¦zË�ëh™¨èÚ&£ûàz¿äz¹Þ—ú+€Ê+zf£¢·hšˆ§~††Ûiÿÿï�êÿ‘êçz_è®æj:+v‰¨þ)ߣømšSåy«æ�¶…†ÛiÿÿðÃí»è®å’i
Quoted 2 lines · Ken Hill
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.
drivers/char/serial.c +2 -2
@@ -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;
Signature · 2 lines
| Dave Jones. http://www.suse.de/~davej | SuSE Labs