]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
staging: comedi: addi_common: remove i_IorangeBase2 from boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 10 Apr 2013 18:32:07 +0000 (11:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2013 19:54:36 +0000 (12:54 -0700)
The i_IorangeBase2 boardinfo is not used. Remove it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/addi_common.h
drivers/staging/comedi/drivers/addi_apci_1500.c
drivers/staging/comedi/drivers/addi_apci_3200.c
drivers/staging/comedi/drivers/addi_apci_3xxx.c

index e7ef268e71f0eeb644cc0170165c0a2836168816..5ed61b9fbca7eb9162672b2b7fab880310e4a6dc 100644 (file)
@@ -47,7 +47,6 @@ struct addi_board {
        const char *pc_DriverName;      /*  driver name */
        int i_IorangeBase0;
        int i_IorangeBase1;
-       int i_IorangeBase2;     /*   base 2 range */
        int i_PCIEeprom;        /*  eeprom present or not */
        char *pc_EepromChip;    /*  type of chip */
        int i_NbrAiChannel;     /*  num of A/D chans */
index 1170e7688f399ce077f3226f6edf1424248865db..a4495fb1a7924d8131dbbfc991b70017684f36a6 100644 (file)
@@ -15,7 +15,6 @@ static const struct addi_board apci1500_boardtypes[] = {
                .pc_DriverName          = "apci1500",
                .i_IorangeBase0         = 128,
                .i_IorangeBase1         = APCI1500_ADDRESS_RANGE,
-               .i_IorangeBase2         = 4,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .i_NbrDiChannel         = 16,
                .i_NbrDoChannel         = 16,
index da2d0948d26b3646898f8781c750a40395496bf8..7a960ac3d1eb4eb090c11b055096b12829ae9011 100644 (file)
@@ -32,7 +32,6 @@ static const struct addi_board apci3200_boardtypes[] = {
                .pc_DriverName          = "apci3200",
                .i_IorangeBase0         = 128,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 4,
                .i_PCIEeprom            = ADDIDATA_EEPROM,
                .pc_EepromChip          = ADDIDATA_S5920,
                .i_NbrAiChannel         = 16,
@@ -60,7 +59,6 @@ static const struct addi_board apci3200_boardtypes[] = {
                .pc_DriverName          = "apci3300",
                .i_IorangeBase0         = 128,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 4,
                .i_PCIEeprom            = ADDIDATA_EEPROM,
                .pc_EepromChip          = ADDIDATA_S5920,
                .i_NbrAiChannelDiff     = 8,
index 36a887609bfcd5ec818c4bc324b11b10515c8bbd..12875973f1180dc5583ec805290caab0337934ce 100644 (file)
@@ -43,7 +43,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3000-16",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 16,
@@ -67,7 +66,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3000-8",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 8,
@@ -91,7 +89,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3000-4",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 4,
@@ -115,7 +112,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3006-16",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 16,
@@ -139,7 +135,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3006-8",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 8,
@@ -163,7 +158,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3006-4",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 4,
@@ -187,7 +181,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3010-16",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 16,
@@ -216,7 +209,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3010-8",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 8,
@@ -245,7 +237,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3010-4",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 4,
@@ -274,7 +265,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3016-16",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 16,
@@ -303,7 +293,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3016-8",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 8,
@@ -332,7 +321,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3016-4",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 4,
@@ -361,7 +349,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3100-16-4",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 16,
@@ -389,7 +376,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3100-8-4",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 8,
@@ -417,7 +403,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3106-16-4",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 16,
@@ -445,7 +430,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3106-8-4",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 8,
@@ -473,7 +457,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3110-16-4",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 16,
@@ -506,7 +489,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3110-8-4",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 8,
@@ -539,7 +521,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3116-16-4",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 16,
@@ -572,7 +553,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3116-8-4",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannel         = 8,
@@ -605,7 +585,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3003",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannelDiff     = 4,
@@ -628,7 +607,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3002-16",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannelDiff     = 16,
@@ -651,7 +629,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3002-8",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannelDiff     = 8,
@@ -674,7 +651,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3002-4",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAiChannelDiff     = 4,
@@ -697,7 +673,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
                .pc_DriverName          = "apci3500",
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
-               .i_IorangeBase2         = 256,
                .i_PCIEeprom            = ADDIDATA_NO_EEPROM,
                .pc_EepromChip          = ADDIDATA_9054,
                .i_NbrAoChannel         = 4,