Added support for generating a seperate device file for each
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 15 Nov 2006 21:25:28 +0000 (21:25 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 15 Nov 2006 21:25:28 +0000 (21:25 +0000)
commit14b55728c85b77fa4dba9c5b16d045bba72439d5
tree4eee924ad6d3bf681e4a8244e7da82e685980bc3
parent8324e2602d16c1ee698c27339df613fef82e5994
Added support for generating a seperate device file for each
subdevice that supports commands.  Subdevices need to indicate
which directions they support commands in with the new subdevice
flags SDF_CMD_READ and SDF_CMD_WRITE.  Breaks compatibility
with 2.4 kernels.  Currently, only 8-bit minor numbers are
used, limiting the maximum subdevice to 15.  This should
be easily changeable once more distros support 20-bit
minor numbers.
52 files changed:
comedi/comedi_fops.c
comedi/comedi_fops.h [new file with mode: 0644]
comedi/drivers.c
comedi/drivers/adl_pci9111.c
comedi/drivers/adl_pci9118.c
comedi/drivers/adv_pci1710.c
comedi/drivers/amplc_dio200.c
comedi/drivers/amplc_pc236.c
comedi/drivers/amplc_pci224.c
comedi/drivers/amplc_pci230.c
comedi/drivers/cb_das16_cs.c
comedi/drivers/cb_pcidas.c
comedi/drivers/cb_pcidas64.c
comedi/drivers/cb_pcidda.c
comedi/drivers/comedi_parport.c
comedi/drivers/comedi_rt_timer.c
comedi/drivers/comedi_test.c
comedi/drivers/das16.c
comedi/drivers/das16m1.c
comedi/drivers/das1800.c
comedi/drivers/das800.c
comedi/drivers/dmm32at.c
comedi/drivers/dt2814.c
comedi/drivers/dt282x.c
comedi/drivers/dt3000.c
comedi/drivers/gsc_hpdi.c
comedi/drivers/me4000.c
comedi/drivers/me_daq.c
comedi/drivers/mite.c
comedi/drivers/mite.h
comedi/drivers/ni_6527.c
comedi/drivers/ni_65xx.c
comedi/drivers/ni_660x.c
comedi/drivers/ni_at_a2150.c
comedi/drivers/ni_atmio16d.c
comedi/drivers/ni_labpc.c
comedi/drivers/ni_mio_common.c
comedi/drivers/ni_pcidio.c
comedi/drivers/pcl711.c
comedi/drivers/pcl812.c
comedi/drivers/pcl816.c
comedi/drivers/pcmuio.c
comedi/drivers/quatech_daqp_cs.c
comedi/drivers/rtd520.c
comedi/drivers/s626.c
comedi/drivers/skel.c
comedi/drivers/usbdux.c
comedi/drivers/usbduxfast.c
comedi/proc.c
comedi/range.c
include/linux/comedi.h
include/linux/comedidev.h