Re: [PATCH 00/37] staging: comedi: tidy up legacy DMA drivers

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

 



On 12/01/15 17:55, H Hartley Sweeten wrote:
This series removes all the VIRT_TO_BUS dependancies from the legacy comedi
drivers. It also tidies up the allocation and freeing of the DMA and the
buffers used for DMA.

H Hartley Sweeten (37):
   staging: comedi: adl_pci9118: remove VIRT_TO_BUS dependancy
   staging: comedi: das1800: reduce indent level of das1800_init_dma()
   staging: comedi: das1800: separate AI FIFO bounce buffer from DMA buffer
   staging: comedi: das1800: introduce struct das1800_dma_desc
   staging: comedi: das1800: tidy up das1800_init_dma()
   staging: comedi: das1800: remove VIRT_TO_BUS dependancy
   staging: comedi: das1800: introduce das1800_free_dma()
   staging: comedi: ni_at_a2150: remove 'volatile' from private data variable
   staging: comedi: ni_at_a2150: use comedi_bytes_per_sample()
   staging: comedi: ni_at_a2150: introduce a2150_alloc_irq_dma()
   staging: comedi: ni_at_a2150: introduce a2150_free_dma()
   staging: comedi: ni_at_a2150: introduce struct a2150_dma_desc
   staging: comedi: ni_at_a2150: remove VIRT_TO_BUS dependancy
   staging: comedi: ni_labpc: introduce struct labpc_dma_desc
   staging: comedi: ni_labpc_isadma: tidy up labpc_init_dma_chan()
   staging: comedi: ni_labpc: remove VIRT_TO_BUS dependancy
   staging: comedi: pcl818: introduce pcl818_alloc_dma()
   staging: comedi: pcl818: introduce pcl818_dma_free()
   staging: comedi: pcl818: introduce struct pcl818_dma_desc
   staging: comedi: pcl818: remove VIRT_TO_BUS dependancy
   staging: comedi: pcl818: fix pcl818_handle_dma() for short DMA transaction
   staging: comedi: pcl816: introduce pcl816_alloc_dma()
   staging: comedi: pcl816: introduce pcl816_free_dma()
   staging: comedi: pcl816: introduce struct pcl816_dma_desc
   staging: comedi: pcl816: remove VIRT_TO_BUS dependancy
   staging: comedi: pcl816: fix short DMA transactions
   staging: comedi: pcl812: introduce pcl812_alloc_dma()
   staging: comedi: pcl812: introduce pcl812_free_dma()
   staging: comedi: pcl812: introduce struct pcl812_dma_desc
   staging: comedi: pcl812: remove VIRT_TO_BUS dependancy
   staging: comedi: dt282x: introduce dt282x_alloc_dma()
   staging: comedi: dt282x: introduce struct dt282x_dma_desc
   staging: comedi: dt282x: remove VIRT_TO_BUS dependancy
   staging: comedi: das16: introduce struct das16_dma_desc
   staging: comedi: das16 introduce das16_alloc_dma()
   staging: comedi: das16: introduce das16_free_dma()
   staging: comedi: das16: board is not a PCI device

  drivers/staging/comedi/Kconfig                   |  15 +-
  drivers/staging/comedi/drivers/das16.c           | 134 ++++++------
  drivers/staging/comedi/drivers/das1800.c         | 265 ++++++++++++-----------
  drivers/staging/comedi/drivers/dt282x.c          | 190 ++++++++--------
  drivers/staging/comedi/drivers/ni_at_a2150.c     | 164 ++++++++------
  drivers/staging/comedi/drivers/ni_labpc.h        |  15 +-
  drivers/staging/comedi/drivers/ni_labpc_isadma.c |  80 ++++---
  drivers/staging/comedi/drivers/ni_labpc_isadma.h |   9 +-
  drivers/staging/comedi/drivers/pcl812.c          | 170 ++++++++-------
  drivers/staging/comedi/drivers/pcl816.c          | 183 +++++++++-------
  drivers/staging/comedi/drivers/pcl818.c          | 143 +++++++-----
  11 files changed, 743 insertions(+), 625 deletions(-)


Reviewed-by: Ian Abbott <abbotti@xxxxxxxxx>

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@xxxxxxxxx> )=-
-=(                          Web: http://www.mev.co.uk/  )=-
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-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