staging: comedi: addi_common: remove 'i_VendorId' and 'i_Device Id'
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 5 Mar 2013 17:26:44 +0000 (10:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 17:05:23 +0000 (10:05 -0700)
The vendor/device ids in the boardinfo are not longer needed. Remove
them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: 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_035.c
drivers/staging/comedi/drivers/addi_apci_1500.c
drivers/staging/comedi/drivers/addi_apci_1564.c
drivers/staging/comedi/drivers/addi_apci_3200.c
drivers/staging/comedi/drivers/addi_apci_3xxx.c

index 6d8b29f945d5b7a1dd77be99fe3bcfb6ebe317bd..19da977fef8290e8fc831407bed0db1ea66329e6 100644 (file)
@@ -45,8 +45,6 @@
 /* structure for the boardtype */
 struct addi_board {
        const char *pc_DriverName;      /*  driver name */
-       int i_VendorId;         /* PCI vendor a device ID of card */
-       int i_DeviceId;
        int i_IorangeBase0;
        int i_IorangeBase1;
        int i_IorangeBase2;     /*   base 2 range */
index f296cb387b7cc97bcb7dd03a6dbc1d5eee5482ba..2f4e2948a9f2494708c8d0e4056f87cdf6075ff5 100644 (file)
@@ -15,8 +15,6 @@
 static const struct addi_board apci035_boardtypes[] = {
        {
                .pc_DriverName          = "apci035",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x0300,
                .i_IorangeBase0         = 127,
                .i_IorangeBase1         = APCI035_ADDRESS_RANGE,
                .i_PCIEeprom            = 1,
index 24c859088bc1c7c66374972a9421044226b4e92b..1170e7688f399ce077f3226f6edf1424248865db 100644 (file)
@@ -13,8 +13,6 @@
 static const struct addi_board apci1500_boardtypes[] = {
        {
                .pc_DriverName          = "apci1500",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA_OLD,
-               .i_DeviceId             = 0x80fc,
                .i_IorangeBase0         = 128,
                .i_IorangeBase1         = APCI1500_ADDRESS_RANGE,
                .i_IorangeBase2         = 4,
index 97e389f4e5c6de853c57dc0480af6d72f8cc2eb2..8de7b4875b0d5b3107c1a255698ec13cd0e713fa 100644 (file)
@@ -13,8 +13,6 @@
 static const struct addi_board apci1564_boardtypes[] = {
        {
                .pc_DriverName          = "apci1564",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x1006,
                .i_IorangeBase0         = 128,
                .i_IorangeBase1         = APCI1564_ADDRESS_RANGE,
                .i_PCIEeprom            = ADDIDATA_EEPROM,
index e23831bcec4db4a62a3a28a785e1f5a7e8143b28..4b492a0897b8bc11a97310056844286a85921fbf 100644 (file)
@@ -30,8 +30,6 @@ enum apci3200_boardid {
 static const struct addi_board apci3200_boardtypes[] = {
        [BOARD_APCI3200] = {
                .pc_DriverName          = "apci3200",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3000,
                .i_IorangeBase0         = 128,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 4,
@@ -61,8 +59,6 @@ static const struct addi_board apci3200_boardtypes[] = {
        },
        [BOARD_APCI3300] = {
                .pc_DriverName          = "apci3300",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3007,
                .i_IorangeBase0         = 128,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 4,
index 5069fbdb27c341997b2dc4077a9f6c64fa08d572..1afc62cb07c587135b4ecffea2df0ad5cb5d5dc8 100644 (file)
@@ -41,8 +41,6 @@ enum apci3xxx_boardid {
 static const struct addi_board apci3xxx_boardtypes[] = {
        [BOARD_APCI3000_16] = {
                .pc_DriverName          = "apci3000-16",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3010,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -68,8 +66,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3000_8] = {
                .pc_DriverName          = "apci3000-8",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x300F,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -95,8 +91,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3000_4] = {
                .pc_DriverName          = "apci3000-4",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x300E,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -122,8 +116,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3006_16] = {
                .pc_DriverName          = "apci3006-16",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3013,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -149,8 +141,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3006_8] = {
                .pc_DriverName          = "apci3006-8",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3014,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -176,8 +166,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3006_4] = {
                .pc_DriverName          = "apci3006-4",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3015,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -203,8 +191,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3010_16] = {
                .pc_DriverName          = "apci3010-16",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3016,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -235,8 +221,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3010_8] = {
                .pc_DriverName          = "apci3010-8",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3017,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -267,8 +251,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3010_4] = {
                .pc_DriverName          = "apci3010-4",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3018,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -299,8 +281,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3016_16] = {
                .pc_DriverName          = "apci3016-16",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3019,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -331,8 +311,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3016_8] = {
                .pc_DriverName          = "apci3016-8",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x301A,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -363,8 +341,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3016_4] = {
                .pc_DriverName          = "apci3016-4",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x301B,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -395,8 +371,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3100_16_4] = {
                .pc_DriverName          = "apci3100-16-4",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x301C,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -426,8 +400,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3100_8_4] = {
                .pc_DriverName          = "apci3100-8-4",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x301D,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -457,8 +429,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3106_16_4] = {
                .pc_DriverName          = "apci3106-16-4",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x301E,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -488,8 +458,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3106_8_4] = {
                .pc_DriverName          = "apci3106-8-4",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x301F,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -519,8 +487,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3110_16_4] = {
                .pc_DriverName          = "apci3110-16-4",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3020,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -555,8 +521,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3110_8_4] = {
                .pc_DriverName          = "apci3110-8-4",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3021,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -591,8 +555,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3116_16_4] = {
                .pc_DriverName          = "apci3116-16-4",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3022,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -627,8 +589,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3116_8_4] = {
                .pc_DriverName          = "apci3116-8-4",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3023,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -663,8 +623,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3003] = {
                .pc_DriverName          = "apci3003",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x300B,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -689,8 +647,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3002_16] = {
                .pc_DriverName          = "apci3002-16",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3002,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -715,8 +671,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3002_8] = {
                .pc_DriverName          = "apci3002-8",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3003,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -741,8 +695,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3002_4] = {
                .pc_DriverName          = "apci3002-4",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3004,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,
@@ -767,8 +719,6 @@ static const struct addi_board apci3xxx_boardtypes[] = {
        },
        [BOARD_APCI3500] = {
                .pc_DriverName          = "apci3500",
-               .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
-               .i_DeviceId             = 0x3024,
                .i_IorangeBase0         = 256,
                .i_IorangeBase1         = 256,
                .i_IorangeBase2         = 256,