[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm
Subject:    Re: PXA Serial debug advice
From:       Russell King - ARM Linux <linux () arm ! linux ! org ! uk>
Date:       2005-12-14 16:30:37
Message-ID: 20051214163037.GK7137 () flint ! arm ! linux ! org ! uk
[Download RAW message or body]

On Wed, Dec 14, 2005 at 07:58:54AM -0800, David Farrell wrote:
> I would like to enhance some things in the
> pxa.c serial driver. My board requires a pxa
> serial console. My plan is to create a second
> copy (pxa2.c) with unique Major/Minor numbers,
> tell pxa.c it drives only one port (console)
> and pxa2.c it drives the remaining. The whole
> point being to compile pxa2.c as a module and
> not lose my console pxa built in the kernel.
> 
> Is this reasonable or will this waste more
> time than I save in rebuilding the kernel
> every debug iteration.

I don't see any gain in doing this.  pxa2.c will be almost a subset
of the pxa.c code.  In effect, everything you require to drive those
extra ports will already be in pxa.c.  Seems like a waste of code
space.

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic