> -----Original Message-----
> From: linux-mips-bounce@linux-mips.org
> [mailto:linux-mips-bounce@linux-mips.org] On Behalf Of
> Ardelean, Andrei
> Sent: Thursday, September 23, 2010 2:49 AM
> To: linux-mips@linux-mips.org
> Subject: Which Linux driver (source code) is used for tty0
> (console) on MALTA?
>
> Hi,
>
> I am using MALTA and my goal is to port MIPS Linux on a new platform.
> Which driver (source code) is used for tty0 (console)? I see
> the support for "early console" but I think that this is not
> the real Linux driver used after boot stage.
$ cat arch/mips/configs/malta_defconfig | grep SERIAL
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
Cheers
Tiejun
>
> More general, how to find which code source is used for an
> embedded driver (part of the Kernel at compiling time) for
> each h/w resource.
> MIPS Linux distribution comes with a lot of drivers but I
> have difficulties to figure out which one is used for MALTA.
> Is it a files where all those are registered?
>
> Thanks,
> Andrei
>
>
>
|