Re: [PATCH 5/8] altera_uart: Make it possible to use Altera UARTand 8250 ports together

From: Anton Vorontsov
Date: Fri Oct 01 2010 - 11:23:11 EST


On Fri, Oct 01, 2010 at 03:18:41PM +0100, Alan Cox wrote:
> > I guess the sane maximum number of ports would be 8, but it is still
> > possible to do hundreds of them.
>
> In that case you may just want to allocate a dynamic major instead - or
> do you actually need a fixed major/minor for your boot up ?

I don't need it, but someone might.

Plus, it doesn't solve anything as there are only 256 minor numbers. ;-)
If we ever want to support the insane number of Altera UARTs, we'll
have to solve it very differently. For now, I'd vote for keeping it
simple.

Thanks,

--
Anton Vorontsov
email: cbouatmailru@xxxxxxxxx
irc://irc.freenode.net/bd2
--
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/