On 2014-09-09 21:05, H Hartley Sweeten wrote:
Start cleaning up the async command support in this comedi driver. This is a repost of the series. I missed the first patch last time. H Hartley Sweeten (30): staging: comedi: adl_pci9118: factor out DMA alloc/free staging: comedi: adl_pci9118: DMA requires an interrupt staging: comedi: adl_pci9118: always try to use interrupt and DMA staging: comedi: adl_pci9118: don't ignore hardware errors staging: comedi: adl_pci9118: handle master/target abort in main interrupt handler staging: comedi: adl_pci9118: handle error detection in main interrupt handler staging: comedi: adl_pci9118: handle hardware errors in interrupt handler staging: comedi: adl_pci9118: do cfc_handle_events() at end of interrupt staging: comedi: adl_pci9118: remove PCI9118_PARANOIDCHECK code staging: comedi: adl_pci9118: remove 'dmabuf_panic_size' from private data staging: comedi: adl_pci9118: convert private data true/false flags to bit-fields staging: comedi: adl_pci9118: remove 'dmabuf_used_size' from private data staging: comedi: adl_pci9118: introduce struct pci9118_dmabuf staging: comedi: adl_pci9118: change type of pci9118_dmabuf 'virt' member staging: comedi: adl_pci9118: fix interrupt_pci9118_ai_mode4_switch() staging: comedi: adl_pci9118: exttrg source is always EXTTRG_AI staging: comedi: adl_pci9118: merge pci9118_exttrg_{add,del}() staging: comedi: adl_pci9118: remove unused parameters from setup_channel_list() staging: comedi: adl_pci9118: rename setup_channel_list() staging: comedi: adl_pci9118: absorb pci9118_ai_set_range_aref() staging: comedi: adl_pci9118: tidy up pci9118_set_chanlist() staging: comedi: adl_pci9118: remove sanity checks in pci9118_calc_divisors() staging: comedi: adl_pci9118: TRIG_INT is not a valid scan_begin_src staging: comedi: adl_pci9118: clarify acquisition mode (ai_do) determination staging: comedi: adl_pci9118: tidy up 'ai_cfg' in pci9118_ai_docmd_dma() staging: comedi: adl_pci9118: enable DMA in common code path staging: comedi: adl_pci9118: introduce pci9118_ai_cmd_start() staging: comedi: adl_pci9118: clarify async command start staging: comedi: adl_pci9118: absorb DMA and non-DMA helpers staging: comedi: adl_pci9118: move pci9118_ai_cmdtest() drivers/staging/comedi/drivers/adl_pci9118.c | 1207 +++++++++++--------------- 1 file changed, 488 insertions(+), 719 deletions(-)
Reviewed-by: Ian Abbott <abbotti@xxxxxxxxx> -- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel