Re: Suggested dual human/binary interface for proc/devfs

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Apr 17 2000 - 16:43:32 EST


> - All of the API's which use major/minor numbers need to be duplicated and
> a new one created to support legacy code using the 8/8 split

The userspace API already is clean here.

> - Most subsystems use an array of 256 entries to determine which minor
> number goes to which device. This will have to be rewritten to work
> correctly

Almost none use arrays like that. The ones that do are fairly slack (like
videodev which hey I wrote I admit to being lazy). A generic list is easy
(its even in misc.c)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:11 EST