Re: [PATCH 2/4] Blackfin: Serial driver for Blackfin arch on 2.6.18

From: Matti Aarnio
Date: Thu Sep 21 2006 - 06:29:15 EST


On Wed, Sep 20, 2006 at 10:28:37PM -0700, Randy.Dunlap wrote:
> On Thu, 21 Sep 2006 11:33:05 +0800 Luke Yang wrote:
>
> > This is the serial driver for Blackfin. It is designed for the serial
> > core framework.
> >
> > As to other drivers, I'll send them one by one later.
> >
> > Signed-off-by: Luke Yang <luke.adi@xxxxxxxxx>
> >
> > drivers/serial/Kconfig | 35 +
> > drivers/serial/Makefile | 3
> > drivers/serial/bfin_5xx.c | 903 ++++++++++++++++++++++++++++++++++++++++++++
> > include/linux/serial_core.h | 3
> > 4 files changed, 943 insertions(+), 1 deletion(-)
> >
> > diff -urN linux-2.6.18.patch1/drivers/serial/Kconfig
> > linux-2.6.18.patch2/drivers/serial/Kconfig
> > --- linux-2.6.18.patch1/drivers/serial/Kconfig 2006-09-21
> > 09:14:42.000000000 +0800
> > +++ linux-2.6.18.patch2/drivers/serial/Kconfig 2006-09-21
> > 09:38:17.000000000 +0800
> > @@ -488,6 +488,41 @@
> > your boot loader (lilo or loadlin) about how to pass options to the
> > kernel at boot time.)
> >
> > +config SERIAL_BFIN
> > + bool "Blackfin serial port support (EXPERIMENTAL)"
> > + depends on BFIN && EXPERIMENTAL
> > + select SERIAL_CORE
>
> Just curious: why bool and not tristate? (i.e., why is loadable
> module not allowed?)

Target is, after all, uCLinux embedded processor, where one should
be able to pre-determine what things go in as baseline kernel (what
hardware was used to build it) and what are possible options.

All Blackfins have internal UART (or two).
Some multiplex on same pins also CAN.

One of these weeks I should push onward my own BF537 project, I am
still just pre-collecting all tools to be able to debug it once
I commit boards to manufacturing...


/Matti Aarnio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/