Re: [PATCH][uart] fit blackfin uart over sport driver into common uart inftrastructure (v2)

From: Sonic Zhang
Date: Fri Sep 18 2009 - 01:11:57 EST


On Fri, Sep 18, 2009 at 12:54 PM, Sonic Zhang <sonic.adi@xxxxxxxxx> wrote:
> On Thu, Sep 17, 2009 at 2:56 AM, Mike Frysinger <vapier.adi@xxxxxxxxx> wrote:
>>
>> then we get proper device bindings between ttySS# and SPORT# by using
>> the .id field.  ttySS0 should always be SPORT0, ttySS1 should always
>> be SPORT1, etc...
>
> You can't either. Because the index of tty devices is increased
> automatically when you successfully register a uart port.  If sport0
> is used for devices other than uart, uart over sport1 is always bond
> to ttySS0.
>
>
OK. This looks possible. I will take a look.

Sonic
--
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/