Re: [PATCHv3] drivers/misc: Altera active serial implementation

From: Alan Cox
Date: Wed Nov 17 2010 - 06:10:17 EST


On Wed, 17 Nov 2010 07:32:51 +0200
Baruch Siach <baruch@xxxxxxxxxx> wrote:

> Hi Jiri, Alan,
>
> On Tue, Nov 16, 2010 at 02:09:45PM +0100, Jiri Slaby wrote:
> > On 11/16/2010 12:04 PM, Alan Cox wrote:
> > > Sixteen devices is way too many for drivers/misc - it only has 256 total
> > > and only half of those are dynamic.
> >
> > Seconded. (And it's a quarter, not even a half like I already wrote.)
>
> If I reduce the maximal number of devices to 4, will it make any difference? I
> don't mind even having a limit of 2 by default, as long as a simple define
> change is enough to raise this limit.

No look you can need more than two, its not a one off special device it
doesn't use the misc minor space.

Allocate some dynamic device space.

Alan
--
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/