[PATCH 00/46] staging: comedi: adl_pci9111: cleanup the driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove the boardinfo and convert this driver to use the comedi attach_pci
auto config mechanism.

Use the 8253 helpers and remove the code for programming the timers.

Remove a bunch of debug code and all the i/o macros.

Introduce two new helper functions to comedi_fc. These will be used
to help cleanup the 'do_cmdtest' functions in the comedi drivers.

H Hartley Sweeten (46):
  staging: comedi: adl_pci9111: remove dev_private macro
  staging: comedi: adl_pci9111: remove pci9111_board_nbr macro
  staging: comedi: adl_pci9111: remove PCI9111_IO_BASE macro
  staging: comedi: adl_pci9111: remove pci9111_8254_* i/o macros
  staging: comedi: adl_pci9111: use 8253 helper functions
  staging: comedi: adl_pci9111: remove pci9111_d[io]_* i/o macros
  staging: comedi: adl_pci9111: cleanup pci9111_di_insn_bits()
  staging: comedi: adl_pci9111: cleanup pci9111_do_insn_bits()
  staging: comedi: adl_pci9111: remove pci9111_ao_set_data macro
  staging: comedi: adl_pci9111: cleanup pci9111_ao_insn_read()
  staging: comedi: adl_pci9111: cleanup ao resolution
  staging: comedi: adl_pci9111: cleanup pci9111_ao_insn_write()
  staging: comedi: adl_pci9111: remove AI_INSN_DEBUG code
  staging: comedi: adl_pci9111: cleanup pci9111_ai_munge()
  staging: comedi: adl_pci9111: remove pci9111_{hr_,)ai* macros
  staging: comedi: adl_pci9111: cleanup ai read in pci9111_ai_insn_read()
  staging: comedi: adl_pci9111: analog output subdevice is fixed
  staging: comedi: adl_pci9111: digital input/output subdevices are fixed
  staging: comedi: adl_pci9111: remove chanlist_len checks
  staging: comedi: adl_pci9111: remove 'single' channel list check
  staging: comedi: adl_pci9111: analog input subdevice is fixed
  staging: comedi: adl_pci9111: remove the board attach noise
  staging: comedi: adl_pci9111: remove the io_range values from the private data
  staging: comedi: adl_pci9111: use attach_pci callback
  staging: comedi: adl_pci9111: remove AI_DO_CMD_DEBUG code
  staging: comedi: adl_pci9111: remove INTERRUPT_DEBUG code
  staging: comedi: adl_pci9111: use local variables for the chan/range
  staging: comedi: adl_pci9111: remove pci9111_ai_range_[gs]et macros
  staging: comedi: adl_pci9111: remove pci9111_ai_channel_[gs]et macros
  staging: comedi: adl_pci9111: remove pci9111_is_fifo_* macros
  staging: comedi: adl_pci9111: remove pci9111_software_trigger macro
  staging: comedi: adl_pci9111: remove pci9111_interrupt_clear macro
  staging: comedi: adl_pci9111: remove pci9111_interrupt_and_fifo_[sg]et macros
  staging: comedi: adl_pci9111: remove pci9111_trigger_and_autoscan_[sg]et macros
  staging: comedi: adl_pci9111: change pci9111_fifo_reset into a function
  staging: comedi: adl_pci9111: cleanup the io register map
  staging: comedi: adl_pci9111: cleanup pci9111_hr_ai_range
  staging: comedi: adl_pci9111: cleanup timer_divisor_[12]
  staging: comedi: adl_pci9111: remove unnecessary 'is_valid'
  staging: comedi: comedi_fc: introduce cfc_check_trigger_src
  staging: comedi: adl_pci9111: use cfc_check_trigger_src
  staging: comedi: adl_pci9111: single source triggers are already unique
  staging: comedi: comedi_fc: introduce cfc_check_trigger_is_unique
  staging: comedi: adl_pci9111: use cfc_check_trigger_is_unique
  staging: comedi: adl_pci9111: remove extra i8253_cascade_ns_to_timer_2div()
  staging: comedi: adl_pci9111: remove unnecessary comments

 drivers/staging/comedi/drivers/adl_pci9111.c | 922 ++++++++-------------------
 drivers/staging/comedi/drivers/comedi_fc.c   |  43 +-
 drivers/staging/comedi/drivers/comedi_fc.h   |   3 +
 3 files changed, 295 insertions(+), 673 deletions(-)

-- 
1.7.11

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux