linux-mips
[Top] [All Lists]

Re: [PATCH 09/15] add serial port definition for lemote fulong

To: tiansm@lemote.com
Subject: Re: [PATCH 09/15] add serial port definition for lemote fulong
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 12 Jun 2007 13:34:40 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <11811127741719-git-send-email-tiansm@lemote.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11811127722019-git-send-email-tiansm@lemote.com> <11811127741719-git-send-email-tiansm@lemote.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Wed, Jun 06, 2007 at 02:52:46PM +0800, tiansm@lemote.com wrote:

> +#if defined(CONFIG_LEMOTE_FULONG)
> +#define LEMOTE_FULONG_SERIAL_PORT_DEFNS                      \
> +     /* UART CLK   PORT IRQ     FLAGS        */      \
> +     { 0, BASE_BAUD, 0x3F8, 4, STD_COM_FLAGS },      /* ttyS0 */
> +#endif
> +
>  #define SERIAL_PORT_DFNS                             \
>       DDB5477_SERIAL_PORT_DEFNS                       \
>       EV64120_SERIAL_PORT_DEFNS                       \
> @@ -172,6 +178,7 @@
>       STD_SERIAL_PORT_DEFNS                           \
>       MOMENCO_OCELOT_C_SERIAL_PORT_DEFNS              \
>       MOMENCO_OCELOT_SERIAL_PORT_DEFNS                \
> -     MOMENCO_OCELOT_3_SERIAL_PORT_DEFNS
> +     MOMENCO_OCELOT_3_SERIAL_PORT_DEFNS              \
> +     LEMOTE_FULONG_SERIAL_PORT_DEFNS
>  
>  #endif /* _ASM_SERIAL_H */

I wonder, is the standard CONFIG_HAVE_STD_PC_SERIAL_PORT which does
basically the same thing as above but for all four ports of a typical
PC-style 16652 configuration for some reason inacceptable for Fulong?

  Ralf

<Prev in Thread] Current Thread [Next in Thread>