Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354261
b: refs/heads/master
c: 40faa60
h: refs/heads/master
i:
  354259: 2809ca6
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jan 30, 2013
1 parent 6c93ac7 commit 3f8578e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 28 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: 6e4733c34fd344fe17c7f6f8bd340d116f5377ec
refs/heads/master: 40faa60bd448a8d487563a5753fba100c17940f2
48 changes: 21 additions & 27 deletions trunk/drivers/staging/comedi/drivers/ni_labpc_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,33 +79,27 @@ static struct pcmcia_device *pcmcia_cur_dev;

static const struct labpc_board_struct labpc_cs_boards[] = {
{
.name = "daqcard-1200",
.device_id = 0x103, /* 0x10b is manufacturer id,
0x103 is device id */
.ai_speed = 10000,
.bustype = pcmcia_bustype,
.register_layout = labpc_1200_layout,
.has_ao = 1,
.ai_range_table = &range_labpc_1200_ai,
.ai_range_code = labpc_1200_ai_gain_bits,
.ai_range_is_unipolar = labpc_1200_is_unipolar,
.ai_scan_up = 0,
.memory_mapped_io = 0,
},
/* duplicate entry, to support using alternate name */
{
.name = "ni_labpc_cs",
.device_id = 0x103,
.ai_speed = 10000,
.bustype = pcmcia_bustype,
.register_layout = labpc_1200_layout,
.has_ao = 1,
.ai_range_table = &range_labpc_1200_ai,
.ai_range_code = labpc_1200_ai_gain_bits,
.ai_range_is_unipolar = labpc_1200_is_unipolar,
.ai_scan_up = 0,
.memory_mapped_io = 0,
},
.name = "daqcard-1200",
.device_id = 0x103,
.ai_speed = 10000,
.bustype = pcmcia_bustype,
.register_layout = labpc_1200_layout,
.has_ao = 1,
.ai_range_table = &range_labpc_1200_ai,
.ai_range_code = labpc_1200_ai_gain_bits,
.ai_range_is_unipolar = labpc_1200_is_unipolar,
}, {
/* duplicate entry, to support using alternate name */
.name = "ni_labpc_cs",
.device_id = 0x103,
.ai_speed = 10000,
.bustype = pcmcia_bustype,
.register_layout = labpc_1200_layout,
.has_ao = 1,
.ai_range_table = &range_labpc_1200_ai,
.ai_range_code = labpc_1200_ai_gain_bits,
.ai_range_is_unipolar = labpc_1200_is_unipolar,
},
};

static int labpc_attach(struct comedi_device *dev, struct comedi_devconfig *it)
Expand Down

0 comments on commit 3f8578e

Please sign in to comment.