[PATCH 00/22] staging: comedi: addi_apci_16xx: cleanup driver

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

 



Separate this driver from the addi-data "common" code and remove all
the bloat.

This includes a full rewrite of the low-level hardware support code.
The current code in hwrdv_apci16xx.c is seriously broken. It's also
overly complicated, the underlying hardware is very simple.

I couldn't figure out a clean way to fix the low-level code with
patches hence the rewrite. The commit message for that patch is
pretty long. Feel free to trim it down.

H Hartley Sweeten (22):
  staging: comedi: addi_apci_16xx: separate from addi_common.c
  staging: comedi: addi_apci_16xx: board does not have analog inputs
  staging: comedi: addi_apci_16xx: board does not have analog outputs
  staging: comedi: addi_apci_16xx: board does not have digital inputs
  staging: comedi: addi_apci_16xx: board does not have digital outputs
  staging: comedi: addi_apci_16xx: board does not have a timer
  staging: comedi: addi_apci_16xx: remove eeprom support code
  staging: comedi: addi_apci_16xx: remove i_APCI16XX_Reset()
  staging: comedi: addi_apci_16xx: remove interrupt support code
  staging: comedi: addi_apci_16xx: simplify PCI bar reading
  staging: comedi: addi_apci_16xx: remove unnecessary comments
  staging: comedi: addi_apci_16xx: remove devpriv->iobase usage
  staging: comedi: addi_apci_16xx: remove devpriv->s_EeParameters usage
  staging: comedi: addi_apci_16xx: only allocate needed subdevices
  staging: comedi: addi_apci_16xx: cleanup subdevice initialization
  staging: comedi: addi_apci_16xx: remove need for comedi_board()
  staging: comedi: addi_apci_16xx: redefine the boardinfo
  staging: comedi: addi_apci_16xx: cleanup addi_find_boardinfo()
  staging: comedi: addi_apci_16xx: rewrite low-level support code
  staging: comedi: addi_apci_16xx: add missing copyright comment
  staging: comedi: addi_apci_16xx: change the MODULE_DESCRIPTION
  staging: comedi: addi_apci_16xx: add defines for the PCI device ids

 .../comedi/drivers/addi-data/hwdrv_apci16xx.c      | 807 ---------------------
 drivers/staging/comedi/drivers/addi_apci_16xx.c    | 252 ++++++-
 2 files changed, 216 insertions(+), 843 deletions(-)
 delete mode 100644 drivers/staging/comedi/drivers/addi-data/hwdrv_apci16xx.c

-- 
1.8.0

_______________________________________________
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