Re: [PATCH 00/18] staging: comedi: use pci_ioremap_bar()

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

 



On 2013-04-10 19:25, H Hartley Sweeten wrote:
Use pci_ioremap_bar() instead of ioremap(). This makes sure the entire
pci bar is ioremap'ed instead of assuming a size. pci_ioremap_bar()
also does additional sanity checking to make sure the bar is a memory
resource.

Remove some cruft from the drivers associated with the ioremapping.

H Hartley Sweeten (18):
   staging: comedi: daqboard2000: use pci_ioremap_bar()
   staging: comedi: gsc_hpdi: remove the base_address_regions enum
   staging: comedi: gsc_hpdi: use pci_ioremap_bar()
   staging: comedi: me_daq: use pci_ioremap_bar()
   staging: comedi: s626: use pci_ioremap_bar()
   staging: comedi: cb_pcidas64: remove the base_address_regions enum
   staging: comedi: cb_pcidas64: use pci_ioremap_bar()
   staging: comedi: cb_pcidas64: tidy up the *phys_iobase
   staging: comedi: dt3000: use pci_ioremap_bar()
   staging: comedi: 8255_pci: use pci_ioremap_bar()
   staging: comedi: icp_multi: use pci_ioremap_bar()
   staging: comedi: mite: use pci_ioremap_bar()
   staging: comedi: jr3_pci: use pci_ioremap_bar()
   staging: comedi: addi_common: use pci_ioremap_bar()
   staging: comedi: addi_common: remove i_IorangeBase3 from boardinfo
   staging: comedi: addi_common: remove i_IorangeBase2 from boardinfo
   staging: comedi: addi_common: remove i_IorangeBase0 from boardinfo
   staging: comedi: ii_pci20kc: remove comment about 2.4 kernels

  drivers/staging/comedi/drivers/8255_pci.c          | 11 ++--
  .../staging/comedi/drivers/addi-data/addi_common.c |  3 +-
  .../staging/comedi/drivers/addi-data/addi_common.h |  3 -
  drivers/staging/comedi/drivers/addi_apci_035.c     |  1 -
  drivers/staging/comedi/drivers/addi_apci_1500.c    |  2 -
  drivers/staging/comedi/drivers/addi_apci_1564.c    |  1 -
  drivers/staging/comedi/drivers/addi_apci_3200.c    |  6 --
  drivers/staging/comedi/drivers/addi_apci_3xxx.c    | 75 ----------------------
  drivers/staging/comedi/drivers/cb_pcidas64.c       | 32 ++-------
  drivers/staging/comedi/drivers/daqboard2000.c      |  6 +-
  drivers/staging/comedi/drivers/dt3000.c            |  6 +-
  drivers/staging/comedi/drivers/gsc_hpdi.c          | 14 +---
  drivers/staging/comedi/drivers/icp_multi.c         |  7 +-
  drivers/staging/comedi/drivers/ii_pci20kc.c        |  3 -
  drivers/staging/comedi/drivers/jr3_pci.c           |  4 +-
  drivers/staging/comedi/drivers/me_daq.c            |  6 +-
  drivers/staging/comedi/drivers/mite.c              | 21 ++----
  drivers/staging/comedi/drivers/s626.c              |  3 +-
  18 files changed, 27 insertions(+), 177 deletions(-)

All looks good.

Reviewed-by: Ian Abbott <abbotti@xxxxxxxxx>

(Don't bother adding the line if it's too much bother, Greg.)

--
-=( 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/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