[PATCH 00/18] staging: comedi: addi-data: cleanup round 3

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

 



The addi-data drivers are a bit of a mess and have a lot of bloat.

Remove the PCI bus walking code and make all the addi-data drivers
use the comedi PCI auto attach mechanism.

Remove some of the private data variables that are no longer needed
after converting to the auto attach.

Remove addi-data's private version of the amcc_s5933.h header.

Remove a couple duplicate or unused defines in the addi-data drivers.

H Hartley Sweeten (18):
  staging: comedi: addi-data: remove v_pci_card_list_display()
  staging: comedi: addi-data: remove the board attach noise
  staging: comedi: addi-data: remove unused parameters from i_pci_card_data()
  staging: comedi: addi-data: remove irq parameter from i_pci_card_data()
  staging: comedi: addi-data: remove io_addr array from card data
  staging: comedi: addi-data: absorb pci_card_alloc() into i_ADDI_Attach()
  staging: comedi: addi-data: add a 'pcidev' local var to i_ADDI_Attach()
  staging: comedi: addi-data: remove 'irq' from the card data
  staging: comedi: addi-data: remove attach option to disable dma
  staging: comedi: addi-data: remove i_pci_card_free()
  staging: comedi: addi-data: use attach_pci callback
  staging: comedi: addi-data: cleanup reading of the PCI bars
  staging: comedi: addi-data: remove 'allocated' from the private data
  staging: comedi: addi-data: remove 'b_ValidDriver' from the private data
  staging: comedi: addi-data: remove addi_amcc_s5933.h
  staging: comedi: addi-data: remove duplicate #include's
  staging: comedi: addi-data: remove duplicate ADDIDATA_{ENABLE,DISABLE} defines
  staging: comedi: addi-data: remove ERROR and SUCCESS defines

 .../comedi/drivers/addi-data/addi_amcc_s5933.h     | 469 ---------------------
 .../staging/comedi/drivers/addi-data/addi_common.c | 191 +++------
 .../staging/comedi/drivers/addi-data/addi_common.h |  23 -
 .../comedi/drivers/addi-data/hwdrv_apci035.c       |   4 -
 .../comedi/drivers/addi-data/hwdrv_apci1032.c      |   4 -
 .../comedi/drivers/addi-data/hwdrv_apci1564.c      |   5 -
 .../comedi/drivers/addi-data/hwdrv_apci16xx.c      |   5 -
 .../comedi/drivers/addi-data/hwdrv_apci2016.c      |   5 -
 .../comedi/drivers/addi-data/hwdrv_apci2032.c      |   5 -
 .../comedi/drivers/addi-data/hwdrv_apci3120.c      |  31 ++
 .../comedi/drivers/addi-data/hwdrv_apci3xxx.c      |   5 -
 drivers/staging/comedi/drivers/addi_apci_035.c     |   4 +-
 drivers/staging/comedi/drivers/addi_apci_1032.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_1500.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_1516.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_1564.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_16xx.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_1710.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_2016.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_2032.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_2200.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_3001.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_3120.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_3200.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_3300.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_3501.c    |   4 +-
 drivers/staging/comedi/drivers/addi_apci_3xxx.c    |   4 +-
 27 files changed, 127 insertions(+), 684 deletions(-)
 delete mode 100644 drivers/staging/comedi/drivers/addi-data/addi_amcc_s5933.h

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