[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <7a96cdcde345a4e75fb451cecd32501f@kernel.crashing.org>
Date: Thu, 1 Mar 2007 17:43:57 +0100
From: Segher Boessenkool <segher@...nel.crashing.org>
To: Dan Malek <dan@...eddedalley.com>
Cc: Kumar Gala <galak@...nel.crashing.org>,
linux-ppc-embedded <linuxppc-embedded@...abs.org>,
Timur Tabi <timur@...escale.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"H. Peter Anvin" <hpa@...or.com>, Torben.Mathiasen@...com
Subject: Re: lanana: Add major/minor entries for PPC QE UART devices
>> - Cap the driver at 4 UARTs;
>
> Let's do this, but design the code to
> allow more by just changing a #define.
>
>> Just randomly using some extra minors that aren't
>> assigned to you isn't such a great idea.
>
> Maybe for a desktop or generic server where
> you don't know what's going to be configured,
> but it's not unusual to do so with custom
> embedded systems.
You can do whatever you want in your own stuff
but that's not how things work in the mainstream
Linux kernel.
> The small experimental
> or user allocations often don't cover what
> is needed, so we just grab some allocation
> from a device that isn't ever going to be
> used on the system.
Sure I've done that myself a few times, but this
just doesn't fly for in-kernel drivers; those have
their own ranges defined in devices.txt and don't
use random other minors.
Segher
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists