Add defines for the register map of the card.

Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
---
 drivers/staging/comedi/drivers/cb_pcimdda.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/staging/comedi/drivers/cb_pcimdda.c 
b/drivers/staging/comedi/drivers/cb_pcimdda.c
index bf98af4..765f92c 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...
  */
-- 
1.7.11

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to