On Fri, Oct 01, 2010 at 01:41:38PM +0100, Alan Cox wrote: > On Fri, 1 Oct 2010 17:22:07 +0400 > Anton Vorontsov <cbouatmailru@xxxxxxxxx> wrote: > > > This fixes tty name and major number conflicts. The major number > > 204 is used across many platform-specific serial drivers, so we > > use that. > > 204 is allocated in small chunks to specific low volume devices so you > need a proper minor allocation > > At this point that would be 204,213 for whatever tiny range you need. > > Please send me a patch for devices.txt and update accordingly, > otherwise no objections. Sure thing. Will this work? Thanks! - - - From: Anton Vorontsov <cbouatmailru@xxxxxxxxx> Subject: lanana: Assign a device name and numbering for Altera UART Note that Altera UART is usually found on an FPGA solutions, so there could be quite a lot of ports (expanded as needed). I guess the sane maximum number of ports would be 8, but it is still possible to do hundreds of them. Signed-off-by: Anton Vorontsov <cbouatmailru@xxxxxxxxx> --- Documentation/devices.txt | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Documentation/devices.txt b/Documentation/devices.txt index d0d1df6..984cf24 100644 --- a/Documentation/devices.txt +++ b/Documentation/devices.txt @@ -2805,6 +2805,9 @@ Your cooperation is appreciated. 210 = /dev/ttyMAX1 MAX3100 serial port 1 211 = /dev/ttyMAX2 MAX3100 serial port 2 212 = /dev/ttyMAX3 MAX3100 serial port 3 + 213 = /dev/ttyAL0 Altera UART port 0 + ... + 221 = /dev/ttyAL7 Altera UART port 7 205 char Low-density serial ports (alternate device) 0 = /dev/culu0 Callout device for ttyLU0 -- 1.7.0.5 -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html