Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337272
b: refs/heads/master
c: 64f2f93
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Oct 25, 2012
1 parent 15de284 commit 0d4aae5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 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: b6365c0b779de527dd575ed61ad7a3623a911f05
refs/heads/master: 64f2f9335915b87373f73cfb47f0a2d9ed190f2b
12 changes: 6 additions & 6 deletions trunk/drivers/staging/comedi/drivers/addi-data/addi_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void fpu_end(void)

static DEFINE_PCI_DEVICE_TABLE(addi_apci_tbl) = {
#ifdef CONFIG_APCI_3120
{PCI_DEVICE(APCI3120_BOARD_VENDOR_ID, 0x818D)},
{PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA_OLD, 0x818D)},
#endif
#ifdef CONFIG_APCI_1032
{PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x1003)},
Expand All @@ -165,10 +165,10 @@ static DEFINE_PCI_DEVICE_TABLE(addi_apci_tbl) = {
{PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x1006)},
#endif
#ifdef CONFIG_APCI_1500
{PCI_DEVICE(APCI1500_BOARD_VENDOR_ID, 0x80fc)},
{PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA_OLD, 0x80fc)},
#endif
#ifdef CONFIG_APCI_3001
{PCI_DEVICE(APCI3120_BOARD_VENDOR_ID, 0x828D)},
{PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA_OLD, 0x828D)},
#endif
#ifdef CONFIG_APCI_3501
{PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x3001)},
Expand Down Expand Up @@ -225,7 +225,7 @@ static const struct addi_board boardtypes[] = {
#ifdef CONFIG_APCI_3120
{
.pc_DriverName = "apci3120",
.i_VendorId = APCI3120_BOARD_VENDOR_ID,
.i_VendorId = PCI_VENDOR_ID_ADDIDATA_OLD,
.i_DeviceId = 0x818D,
.i_IorangeBase0 = AMCC_OP_REG_SIZE,
.i_IorangeBase1 = APCI3120_ADDRESS_RANGE,
Expand Down Expand Up @@ -403,7 +403,7 @@ static const struct addi_board boardtypes[] = {
#ifdef CONFIG_APCI_1500
{
.pc_DriverName = "apci1500",
.i_VendorId = APCI1500_BOARD_VENDOR_ID,
.i_VendorId = PCI_VENDOR_ID_ADDIDATA_OLD,
.i_DeviceId = 0x80fc,
.i_IorangeBase0 = 128,
.i_IorangeBase1 = APCI1500_ADDRESS_RANGE,
Expand Down Expand Up @@ -431,7 +431,7 @@ static const struct addi_board boardtypes[] = {
#ifdef CONFIG_APCI_3001
{
.pc_DriverName = "apci3001",
.i_VendorId = APCI3120_BOARD_VENDOR_ID,
.i_VendorId = PCI_VENDOR_ID_ADDIDATA_OLD,
.i_DeviceId = 0x828D,
.i_IorangeBase0 = AMCC_OP_REG_SIZE,
.i_IorangeBase1 = APCI3120_ADDRESS_RANGE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
/********* Definitions for APCI-1500 card *****/

/* Card Specific information */
#define APCI1500_BOARD_VENDOR_ID 0x10e8
#define APCI1500_ADDRESS_RANGE 4

/* DIGITAL INPUT-OUTPUT DEFINE */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ static const struct comedi_lrange range_apci3120_ao = { 2, {

#define APCI3120_BIPOLAR_RANGES 4 /* used for test on mixture of BIP/UNI ranges */

#define APCI3120_BOARD_VENDOR_ID 0x10E8
#define APCI3120_ADDRESS_RANGE 16

#define APCI3120_DISABLE 0
Expand Down

0 comments on commit 0d4aae5

Please sign in to comment.