[PATCH 0/2] staging: comedi: drivers: replace poc driver with new dac02 driver

H Hartley Sweeten hsweeten at visionengravers.com
Tue Mar 11 19:04:16 UTC 2014


The poc driver was a catch-all for some very simple boards. Most of the boards that
used to be supported by this driver have been migrated to other common drivers. The
only board remaining in it was the DAC02, a two channel analog output board.

Introduce a separate, simplified, driver for the DAC02 board and remove the poc
driver.

The dac02 driver now fully supports the hardware:
  1) reports the analog output ranges that the hardware can produce
  2) properly handles the comedi (*insn_read) and (*insn_write) functions
  3) properly handles writes when a bipolar range is used

In addition, the unnecessary boardinfo has been removed and the private data
memory resource has been reduced.

H Hartley Sweeten (2):
  staging: comedi: dac02: introduce comedi driver for DAC02 boards
  staging: comedi: poc: remove obsolete driver

 drivers/staging/comedi/Kconfig          |  17 ++--
 drivers/staging/comedi/drivers/Makefile |   2 +-
 drivers/staging/comedi/drivers/dac02.c  | 172 ++++++++++++++++++++++++++++++++
 drivers/staging/comedi/drivers/poc.c    | 157 -----------------------------
 4 files changed, 181 insertions(+), 167 deletions(-)
 create mode 100644 drivers/staging/comedi/drivers/dac02.c
 delete mode 100644 drivers/staging/comedi/drivers/poc.c

-- 
1.8.5.2



More information about the devel mailing list