Skip to contentSkip to conversation

staging: comedi: cb_pcimdda: define the register map

PATCH In review H Hartley Sweeten 1 participant 1 message Aug 17, 2012 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 24/35 staging: comedi: cb_pcimdda: define the register map

Add defines for the register map of the card.

Cc Ian Abbott <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 drivers/staging/comedi/drivers/cb_pcimdda.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/staging/comedi/drivers/cb_pcimdda.c +6 -0
index bf98af4..765f92c 100644
@@ -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...
  */
Signature · 1 line
1.7.11