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

Anton Vorontsov
2010-10-01T15:23:07Z

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@gmail.com
irc://irc.freenode.net/bd2