Hi Russell,
> Additionally, once all architectures convert to initialising their
> serial ports via platform devices (which means include/asm-*/serial.h
> becomes essentially empty) and we eliminate serial8250_console_init(),
> the 8250 console code can start assuming that more of the uart_port
> structure will be initialised.
>
> At that point, we can start to think about using FIFOs for the
> console.
Thank you for FIFO consideration.
me> Before initialization, does tx_loadsz left 0?
me> If so, we can easily solve the problem:
I confirmed this assumption is OK in current code,
because seiral8250_ports[] is static variable.
We will release revised patch later,
please apply our patch until your serial driver
re-organization completes.
Thank you.
Hironobu Ishii
Dear Russel:
I change my patch based on the result of discussion.
The change is as follows:
- add a member to uart_8250_port structure in order to check if FIFO is
enable or not.
- use FIFO at serial8250_console_write function only when FIFO is enable.
I tested my patch on i386 and ia64 architecture.
signed-off-by: Taku Izumi <[email protected]>