Changeset 8778


Ignore:
Timestamp:
2007-09-14T22:26:54+02:00 (10 years ago)
Author:
matteo
Message:

don't broke other archs, we're close to mainstream (i hope)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar7/patches-2.6.22/500-serial_kludge.patch

    r8764 r8778  
    1616  
    1717 #if defined (CONFIG_SERIAL_8250_AU1X00) 
    18 @@ -2436,7 +2443,7 @@ 
     18@@ -2453,7 +2453,11 @@ 
    1919 { 
    2020        struct uart_8250_port *up = (struct uart_8250_port *)port; 
    2121  
    22 -       wait_for_xmitr(up, UART_LSR_THRE); 
     22+#ifdef CONFIG_AR7 
    2323+       wait_for_xmitr(up, BOTH_EMPTY); 
     24+#else 
     25        wait_for_xmitr(up, UART_LSR_THRE); 
     26+#endif 
    2427        serial_out(up, UART_TX, ch); 
    2528 } 
Note: See TracChangeset for help on using the changeset viewer.