From: H Hartley Sweeten Date: Fri, 17 Aug 2012 02:51:05 +0000 (-0700) Subject: staging: comedi: cb_pcimdda: define the register map X-Git-Tag: firefly_0821_release~3680^2~1977^2~876 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d9e33afb40e011d45fb9e47ecab305f5dc436028;p=firefly-linux-kernel-4.4.55.git staging: comedi: cb_pcimdda: define the register map Add defines for the register map of the card. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- 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 @@ -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...