Parts of these fixes in 2.4 doesn't seem to be in 2.6. Maybe these are solved diffrently in 2.6 but I can't tell. At least cpm_uart_console_write could use this.
http://linux.bkbits.net:8080/linux-2.4/diffs/arch/ppc/8xx_io/uart.c at 1.23 ?nav=index.html|src/.|src/arch|src/arch/ppc|src/arch/ppc/8xx_io|hist/arc h/ppc/8xx_io/uart.c Another small improvement would to change: #define RX_NUM_FIFO 4 #define RX_BUF_SIZE 32 #define TX_NUM_FIFO 4 #define TX_BUF_SIZE 32 to #ifndef RX_NUM_FIFO #define RX_NUM_FIFO 4 #endif #ifndef RX_BUF_SIZE #define RX_BUF_SIZE 32 #endif #ifndef TX_NUM_FIFO #define TX_NUM_FIFO 4 #endif #ifndef TX_BUF_SIZE #define TX_BUF_SIZE 32 #endif This will allow custom changes to these constants Jocke