RE: [PATCH][RFC] add support for PC-9800 architecture (20/26) ser

Osamu Tomita (tomita@cinet.co.jp)
Fri, 18 Oct 2002 16:04:02 +0900


Andrey Panin wrote:
> Did you see the next patch (21/26 serial #2) ? It looks even more
> interesting.
> As I understand serial98.c driver should support older i8251 UART.
> However it does it by perverting 8250.c and EMULATING i8250 on top of
> i8251,
> see ugly code in serial_in() and serial_out() functions.
Yes. serial98.c is based on 8250.c. And we add codes for emulating.
Old PC-9800 has 8251 USART. Newer PC-9801 has both 16550A and 8251 like
custom chip. Its custom chip is enhanced for support up to 115.2kbps and
has FIFO.
On kernel 2.1.x to 2.4.x, based on serial.c version are working well.
But It's ugly code, I think too. :)

Regards
Osamu Tomita
-
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/