On 8/25/06, Timothy Miller <[EMAIL PROTECTED]> wrote:
On 8/25/06, Attila Kinali <[EMAIL PROTECTED]> wrote:
> I just send a mail to lanana to request a bunch[1] of linux device numbers
> for oga_vid, which is intended to be similar to mga_vid.
> [1] I'm not sure whether to go for 16 or 32 minor numbers,
> so i asked for both and let lanana decide.
I thought Linux device numbers were dynamic...
http://lwn.net/Articles/195805/ The cdev interface [Posted August 16,
2006 by corbet]
[[ ... Perhaps more importantly, the long-feared device number
shortage never happened. Greater use of dynamic numbers, more generic
device interfaces, and the hotplug mechanism all came together to make
(most) Linux systems fit easily within the older device number space,
to the point that the expanded numbers are rarely used. ... ]]
Yes it does for lots of new things. udev and /sbin/hotplug and /sys/
all play a part.
You might not need a static major number.
Also when I do a ls /dev/ I don't see much that is specific to any
particular graphics technology.
ls -l agpgart tty tty0 vcs vcs1 vcsa vcsa1
crw------- 1 root root 10, 175 Aug 22 23:22 agpgart
crw-rw-rw- 1 root root 5, 0 Aug 22 23:22 tty
crw-rw---- 1 root root 4, 0 Aug 22 23:22 tty0
crw------- 1 vcsa tty 7, 0 Aug 22 23:22 vcs
crw------- 1 vcsa tty 7, 1 Aug 22 23:24 vcs1
crw------- 1 vcsa tty 7, 128 Aug 22 23:22 vcsa
crw------- 1 vcsa tty 7, 129 Aug 22 23:24 vcsa1
So I don't see why you need any major or minor numers assigned. Maybe
I am wrong though.
--
http://dmoz.org/profiles/pollei.html
http://sourceforge.net/users/stephen_pollei/
http://www.orkut.com/Profile.aspx?uid=2455954990164098214
http://stephen_pollei.home.comcast.net/
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)