staging: comedi: addi_apci_1516: remove unnecessary info from boardinfo

The i_IorangeBase[012], i_PCIEeprom, and pc_EepromChip data in the
boardinfo was only needed to work out the usage of the PCI bars.
This is no longer needed so remove the data.

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>
This commit is contained in:
H Hartley Sweeten 2012-11-13 13:41:57 -07:00 committed by Greg Kroah-Hartman
parent a3003b4133
commit 82c2bc7f50

View File

@ -10,21 +10,11 @@ static const struct addi_board apci1516_boardtypes[] = {
.pc_DriverName = "apci1016", .pc_DriverName = "apci1016",
.i_VendorId = PCI_VENDOR_ID_ADDIDATA, .i_VendorId = PCI_VENDOR_ID_ADDIDATA,
.i_DeviceId = 0x1000, .i_DeviceId = 0x1000,
.i_IorangeBase0 = 128,
.i_IorangeBase1 = APCI1516_ADDRESS_RANGE,
.i_IorangeBase2 = 32,
.i_PCIEeprom = ADDIDATA_EEPROM,
.pc_EepromChip = ADDIDATA_S5920,
.i_NbrDiChannel = 16, .i_NbrDiChannel = 16,
}, { }, {
.pc_DriverName = "apci1516", .pc_DriverName = "apci1516",
.i_VendorId = PCI_VENDOR_ID_ADDIDATA, .i_VendorId = PCI_VENDOR_ID_ADDIDATA,
.i_DeviceId = 0x1001, .i_DeviceId = 0x1001,
.i_IorangeBase0 = 128,
.i_IorangeBase1 = APCI1516_ADDRESS_RANGE,
.i_IorangeBase2 = 32,
.i_PCIEeprom = ADDIDATA_EEPROM,
.pc_EepromChip = ADDIDATA_S5920,
.i_NbrDiChannel = 8, .i_NbrDiChannel = 8,
.i_NbrDoChannel = 8, .i_NbrDoChannel = 8,
.i_Timer = 1, .i_Timer = 1,
@ -32,11 +22,6 @@ static const struct addi_board apci1516_boardtypes[] = {
.pc_DriverName = "apci2016", .pc_DriverName = "apci2016",
.i_VendorId = PCI_VENDOR_ID_ADDIDATA, .i_VendorId = PCI_VENDOR_ID_ADDIDATA,
.i_DeviceId = 0x1002, .i_DeviceId = 0x1002,
.i_IorangeBase0 = 128,
.i_IorangeBase1 = APCI1516_ADDRESS_RANGE,
.i_IorangeBase2 = 32,
.i_PCIEeprom = ADDIDATA_EEPROM,
.pc_EepromChip = ADDIDATA_S5920,
.i_NbrDoChannel = 16, .i_NbrDoChannel = 16,
.i_Timer = 1, .i_Timer = 1,
}, },