Skip to content

Commit

Permalink
staging: comedi: cb_pcimdda: define the register map
Browse files Browse the repository at this point in the history
Add defines for the register map of the card.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Aug 17, 2012
1 parent 4d928b1 commit d9e33af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/staging/comedi/drivers/cb_pcimdda.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ Configuration Options:
#define PCI_VENDOR_ID_COMPUTERBOARDS 0x1307
#define PCI_ID_PCIM_DDA06_16 0x0053

/*
* Register map, 8-bit access only
*/
#define PCIMDDA_DA_CHAN(x) (0x00 + (x) * 2)
#define PCIMDDA_8255_BASE_REG 0x0c

/*
* This is straight from skel.c -- I did this in case this source file
* will someday support more than 1 board...
Expand Down

0 comments on commit d9e33af

Please sign in to comment.