Messages in this thread | | | Date | Thu, 11 Dec 2003 16:54:54 +0200 (EET) | From | Hannu Savolainen <> | Subject | Re: Driver API (was Re: Linux GPL and binary module exception clause?) |
| |
On Thu, 11 Dec 2003 viro@parcelfarce.linux.theplanet.co.uk wrote:
> On Thu, Dec 11, 2003 at 02:47:49PM +0200, Hannu Savolainen wrote: > > > In a charcter driver all you need to know from the inode structure is > > basicly just the device (minor) number. It's not hard to implement the > > ABI layer so that the minor number can be provided regardless of the > > changes made to the kernel behind it. > > Not good enough (if you want a demonstration, check USB character devices > and the nightmare stuff happening around handling of minor->object mapping > there). I'm not talking about USB character devices. I'm not talking about hot-plugging. For sure it will be very difficult or even impossible to handle this kind of issues. I'm only talking about simple character device drivers. Ok, you can remove the major/minor mechanism entirely from Linux. Then we have a problem but I'm sure there will be some easy workaround even then.
Best regards,
Hannu ----- Hannu Savolainen (hannu@opensound.com) http://www.opensound.com (Open Sound System (OSS)) http://www.compusonic.fi (Finnish OSS pages) OH2GLH QTH: Karkkila, Finland LOC: KP20CM - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |