Re: lanana: Add major/minor entries for PPC QE UART devices

Dan Malek
2007-02-28T15:53:37Z

On Feb 28, 2007, at 9:54 AM, Segher Boessenkool wrote:

>>>> 46 = /dev/ttyCPM0 PPC CPM (SCC or SMC) - port 0
>>>> ...
>>>> - 47 = /dev/ttyCPM5 PPC CPM (SCC or SMC) - port 5
>>>> + 49 = /dev/ttyCPM5 PPC CPM (SCC or SMC) - port 5
>>> If CPM0 is 46, then CPM5 is not 47, but not 49 either.
>>> Unless it's not CPM5 but CPM3?
>>
>> Honestly, I don't know. I was just correcting the obvious typo (47
>> instead of 49).
>
> It's obvious it shouldn't be 47, but it's not obvious it
> should be 49 instead.

I don't know the origin of this thread, but none of
that looks correct. Today, there can be up to 8
CPM UART devices, 6 on CPM/CPM2 and 8
on the QE. If ttyCPM0 starts at minor 46, they
should be at least monotonically incrementing
up to ttyCPM7 with minor 53.

Thanks.

-- Dan