OSDN Git Service

staging: comedi: addi_apci_2200: remove unnecessary info from boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 18 Jan 2013 00:38:25 +0000 (17:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 20:49:24 +0000 (12:49 -0800)
Remove the information from the boardinfo that was only needed to
work out the usage of the PCI bars.

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/hwdrv_apci2200.c
drivers/staging/comedi/drivers/addi_apci_2200.c

index d4c03f9..e4a422e 100644 (file)
@@ -48,9 +48,6 @@ You should also find the complete GPL in the COPYING file accompanying this sour
 
 /*********      Definitions for APCI-2200 card  *****/
 
-/* Card Specific information */
-#define APCI2200_ADDRESS_RANGE         64
-
 /* DIGITAL INPUT-OUTPUT DEFINE */
 
 #define APCI2200_DIGITAL_OP            4
index 49847ba..1205fe9 100644 (file)
@@ -10,10 +10,6 @@ static const struct addi_board apci2200_boardtypes[] = {
                .pc_DriverName          = "apci2200",
                .i_VendorId             = PCI_VENDOR_ID_ADDIDATA,
                .i_DeviceId             = 0x1005,
-               .i_IorangeBase0         = 4,
-               .i_IorangeBase1         = APCI2200_ADDRESS_RANGE,
-               .i_PCIEeprom            = ADDIDATA_EEPROM,
-               .pc_EepromChip          = ADDIDATA_93C76,
                .i_NbrDiChannel         = 8,
                .i_NbrDoChannel         = 16,
                .i_Timer                = 1,