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

H Hartley Sweeten hsweeten at visionengravers.com
Wed Apr 10 18:25:08 UTC 2013


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(-)

-- 
1.8.1.4




More information about the devel mailing list