As suggested the legacy device count is set to zero. A new module parameter
authorBernd Porr <Bernd.Porr@f2s.com>
Mon, 8 Dec 2008 23:30:13 +0000 (23:30 +0000)
committerBernd Porr <Bernd.Porr@f2s.com>
Mon, 8 Dec 2008 23:30:13 +0000 (23:30 +0000)
commit1fcfed7a02e0c402ec043b8f78c62953a82b95e9
treeec581d09ec2ea700282525b8c097461868c3dc0c
parent16fdc58d094d571b2d838e6c4ca2b095ed303148
As suggested the legacy device count is set to zero. A new module parameter
for comedi_fops allows setting the number of legacy devices: comedi_num_legacy_minors. The default is zero.
usbdux and usbduxfast upload now their firmware via the firmware kernel meachanism. No udev rules are needed for that except the default ones. The firmware will usually be loaded from /lib/firmware. Upload via comedi_config is still possible for static comedi devices (comedi_num_legacy_minors>0). Frank, thanks for the example code which sped up rewriting of the code substantially.
comedi/comedi_fops.c
comedi/comedi_ksyms.c
comedi/drivers.c
comedi/drivers/usbdux.c
comedi/drivers/usbduxfast.c