Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337490
b: refs/heads/master
c: 618a97e
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Oct 31, 2012
1 parent 5f79b61 commit 7b4ceb5
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 50 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b2b9a348ec4012c6807c6648f76da03c120bd7a
refs/heads/master: 618a97e8a2fe6a36259d90560f0ea5f7976a505f
31 changes: 24 additions & 7 deletions trunk/drivers/staging/comedi/drivers/addi-data/hwdrv_apci1032.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,30 @@ You should also find the complete GPL in the COPYING file accompanying this sour
+----------+-----------+------------------------------------------------+
*/

/*
+----------------------------------------------------------------------------+
| Included files |
+----------------------------------------------------------------------------+
*/
#include "hwdrv_apci1032.h"
#include <linux/delay.h>
/********* Definitions for APCI-1032 card *****/

#define APCI1032_ADDRESS_RANGE 20
/* DIGITAL INPUT DEFINE */

#define APCI1032_DIGITAL_IP 0
#define APCI1032_DIGITAL_IP_INTERRUPT_MODE1 4
#define APCI1032_DIGITAL_IP_INTERRUPT_MODE2 8
#define APCI1032_DIGITAL_IP_IRQ 16

/* Digital Input IRQ Function Selection */
#define ADDIDATA_OR 0
#define ADDIDATA_AND 1

/* Digital Input Interrupt Status */
#define APCI1032_DIGITAL_IP_INTERRUPT_STATUS 12

/* Digital Input Interrupt Enable Disable. */
#define APCI1032_DIGITAL_IP_INTERRUPT_ENABLE 0x4
#define APCI1032_DIGITAL_IP_INTERRUPT_DISABLE 0xfffffffb

/* ADDIDATA Enable Disable */
#define ADDIDATA_ENABLE 1
#define ADDIDATA_DISABLE 0

static unsigned int ui_InterruptStatus;

Expand Down
42 changes: 0 additions & 42 deletions trunk/drivers/staging/comedi/drivers/addi-data/hwdrv_apci1032.h

This file was deleted.

0 comments on commit 7b4ceb5

Please sign in to comment.