diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-08-16 19:51:05 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-17 08:17:34 -0700 |
commit | d9e33afb40e011d45fb9e47ecab305f5dc436028 (patch) | |
tree | fa2647a60486b791cd0f880900516db4045237c6 /drivers/staging | |
parent | 4d928b176a7e9c59a54a3d48fa16f9421dea0ad8 (diff) |
staging: comedi: cb_pcimdda: define the register map
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/comedi/drivers/cb_pcimdda.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/staging/comedi/drivers/cb_pcimdda.c b/drivers/staging/comedi/drivers/cb_pcimdda.c index bf98af450f0e..765f92cab8da 100644 --- a/drivers/staging/comedi/drivers/cb_pcimdda.c +++ b/drivers/staging/comedi/drivers/cb_pcimdda.c @@ -93,6 +93,12 @@ Configuration Options: #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... */ |