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

From: Timur Tabi
Date: Thu Mar 01 2007 - 10:56:26 EST


Dan Malek wrote:

People have used more than 4, but we just
allocated the additional /dev entries to cover
them. I know of only one time this has happened.
It's such a custom case that the other device
names didn't matter.

Ok guys, I need a consensus here. Are we going to allocate a second block of 4 minor numbers for the QE/CPM UART or not?

My driver already has a macro that limits the number of UARTS to 4, and it just uses minor numbers 47 through (47 + UCC_MAX_UART - 1). So my driver can easily be modified to spill into the Altic's range if some custom board needs it.

I'll add a second TTY struct to handle the 2nd set of minor numbers if and only if devices-2.6+.txt is updated with that information.

--
Timur Tabi
Linux Kernel Developer @ Freescale
-
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/