staging: comedi: cb_pcimdda: define the register map
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 17 Aug 2012 02:51:05 +0000 (19:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Aug 2012 15:17:34 +0000 (08:17 -0700)
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>
drivers/staging/comedi/drivers/cb_pcimdda.c

index bf98af4..765f92c 100644 (file)
@@ -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...
  */