mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
icom: add new sub-device-id to support new adapter
This patch add new sub-device-id to support new adapter and changed the interrupt irq number for unsigned char to unsigned int. [akpm@osdl.org: fix whitespace in device table] Signed-off by: Wendy Xiong <wendyx@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
e40659c5ca
commit
bc88d5d4e1
2 changed files with 32 additions and 24 deletions
|
@ -96,6 +96,13 @@ static const struct pci_device_id icom_pci_table[] = {
|
||||||
.subdevice = PCI_DEVICE_ID_IBM_ICOM_FOUR_PORT_MODEL,
|
.subdevice = PCI_DEVICE_ID_IBM_ICOM_FOUR_PORT_MODEL,
|
||||||
.driver_data = ADAPTER_V2,
|
.driver_data = ADAPTER_V2,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.vendor = PCI_VENDOR_ID_IBM,
|
||||||
|
.device = PCI_DEVICE_ID_IBM_ICOM_DEV_ID_2,
|
||||||
|
.subvendor = PCI_VENDOR_ID_IBM,
|
||||||
|
.subdevice = PCI_DEVICE_ID_IBM_ICOM_V2_ONE_PORT_RVX_ONE_PORT_MDM_PCIE,
|
||||||
|
.driver_data = ADAPTER_V2,
|
||||||
|
},
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -471,6 +471,7 @@
|
||||||
#define PCI_DEVICE_ID_IBM_ICOM_DEV_ID_2 0x0219
|
#define PCI_DEVICE_ID_IBM_ICOM_DEV_ID_2 0x0219
|
||||||
#define PCI_DEVICE_ID_IBM_ICOM_V2_TWO_PORTS_RVX 0x021A
|
#define PCI_DEVICE_ID_IBM_ICOM_V2_TWO_PORTS_RVX 0x021A
|
||||||
#define PCI_DEVICE_ID_IBM_ICOM_V2_ONE_PORT_RVX_ONE_PORT_MDM 0x0251
|
#define PCI_DEVICE_ID_IBM_ICOM_V2_ONE_PORT_RVX_ONE_PORT_MDM 0x0251
|
||||||
|
#define PCI_DEVICE_ID_IBM_ICOM_V2_ONE_PORT_RVX_ONE_PORT_MDM_PCIE 0x0361
|
||||||
#define PCI_DEVICE_ID_IBM_ICOM_FOUR_PORT_MODEL 0x252
|
#define PCI_DEVICE_ID_IBM_ICOM_FOUR_PORT_MODEL 0x252
|
||||||
|
|
||||||
#define PCI_VENDOR_ID_COMPEX2 0x101a /* pci.ids says "AT&T GIS (NCR)" */
|
#define PCI_VENDOR_ID_COMPEX2 0x101a /* pci.ids says "AT&T GIS (NCR)" */
|
||||||
|
|
Loading…
Reference in a new issue