[linux-dvb] [PATCH/RFC] Dynamic DVB minor allocation

Andreas Oberritter obi at linuxtv.org
Mon Oct 20 15:52:39 CEST 2008


recently we've exceeded the limit of minor devices, when we tried to
register five demux devices on an adapter instance. We circumvented
this limit by changing the macro nums2minor, which is not acceptable if
you want to stay backwards compatible.

So I went for a cleaner solution and added a new configuration option,
which allows dynamic minor allocation for DVB devices.

I haven't tested it yet. It is loosely based on drivers/usb/core/file.c.

Any comments?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvbdev.diff
Type: text/x-patch
Size: 4465 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20081020/ed8dd6be/attachment.bin 

More information about the linux-dvb mailing list