Michael Hunold wrote: > > Because we only allocate one major number and have 256 minor numbers, > there can be 4 adapters with each 4*8 devices (audio0, ..., audio3, > demux0, ..., demux3, ... => same for frontend, osd, ca, dvr, net, video)
Actually 4*16 as has been pointed out in another mail. > There are two solutions: > > 1) Dynamically allocate multiple major numbers, ie. 251, 252, 253, ... > for further devices. Some drivers have done this for ages. The "sec" device minor is actually unused, so we could just change the minor number allocation scheme and support 8 adapters with 4*8 devices, instead of 4 adapters with 4*16 devices. Downside: It makes up/down-grading the drivers error prone for non-devfs users because they have to re-run makedev.napi every time. > 2) Wait for dev_t do be increased to 32bit or 64bit. This has been > proposed several times. I googled around a bit and found out that This won't happen for 2.4. Johannes -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.
