Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325422
b: refs/heads/master
c: 1387d4b
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 19, 2012
1 parent 6f619ad commit 311dbd8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 24 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: 9e794ee4042ea076c3199943e98ed0c9d8b06921
refs/heads/master: 1387d4b7f05db3d3cf156861f7c942b1031df51b
39 changes: 16 additions & 23 deletions trunk/drivers/staging/comedi/drivers/daqboard2000.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,29 +140,22 @@ Configuration options: not applicable, uses PCI auto config
#define DAQBOARD2000_CPLD_INIT 0x0002
#define DAQBOARD2000_CPLD_DONE 0x0004

/* Available ranges */
static const struct comedi_lrange range_daqboard2000_ai = { 13, {
RANGE(-10, 10),
RANGE(-5, 5),
RANGE(-2.5,
2.5),
RANGE(-1.25,
1.25),
RANGE(-0.625,
0.625),
RANGE(-0.3125,
0.3125),
RANGE(-0.156,
0.156),
RANGE(0, 10),
RANGE(0, 5),
RANGE(0, 2.5),
RANGE(0, 1.25),
RANGE(0,
0.625),
RANGE(0,
0.3125)
}
static const struct comedi_lrange range_daqboard2000_ai = {
13, {
BIP_RANGE(10),
BIP_RANGE(5),
BIP_RANGE(2.5),
BIP_RANGE(1.25),
BIP_RANGE(0.625),
BIP_RANGE(0.3125),
BIP_RANGE(0.156),
UNI_RANGE(10),
UNI_RANGE(5),
UNI_RANGE(2.5),
UNI_RANGE(1.25),
UNI_RANGE(0.625),
UNI_RANGE(0.3125)
}
};

/*
Expand Down

0 comments on commit 311dbd8

Please sign in to comment.