A question about the 8250/16550 Driver
Li Yang
LeoLi at freescale.com
Thu Apr 17 18:55:04 EST 2008
> -----Original Message-----
> From: linuxppc-dev-bounces+leoli=freescale.com at ozlabs.org
> [mailto:linuxppc-dev-bounces+leoli=freescale.com at ozlabs.org]
> On Behalf Of 旭 罗
> Sent: Thursday, April 17, 2008 3:32 PM
> To: Linu PPC Mail list
> Cc: Wood Scott
> Subject: A question about the 8250/16550 Driver
>
> Hello:
> I have founded that the serial can't be initialized as
> the bootting process. My platform is MPC8313 and my kernel
> version is linux-2.6.23.9. I look though the source code and
> find that the MPC8313 driver is compatible with 8250/16550.
> The driver is in the \drivers\serial\8250.c
>
> In the function serial8250_isa_init_ports we should use the
> structer old_serial_port but i can't find the definition for
> this struct. I can only find the following senrense in the
> head of this file
If you look into the function carefully enough, you can find that old_serial_port is optional and can be empty. It seems to be some leftover to provide backward compatibility when the port structure changed.
- Leo
More information about the Linuxppc-dev
mailing list