Advantech PCI 8250 serial board
PATCH 1/1 Advantech PCI 8250 serial board
This simply adds another PCI product id and a table entry for a 16PCI954 two port board. Patch made against 2.6.31.1
It works.
Signed-off-by Dick Hollenbeck <[email protected]>
8250_pci.c renamed from 8250_pci.c.orig +5 -0
@@ -981,6 +981,7 @@ static int skip_tx_en_setup(struct seria#define PCI_SUBDEVICE_ID_POCTAL422 0x0408#define PCI_VENDOR_ID_ADVANTECH 0x13fe#define PCI_DEVICE_ID_ADVANTECH_PCI3620 0x3620 +#define PCI_DEVICE_ID_ADVANTECH_PCI3610 0x3610/* Unknown vendors/cards - this should not be in linux/pci_ids.h */ #define PCI_SUBDEVICE_ID_UNKNOWN_0x1584 0x1584
@@ -2525,6 +2526,10 @@ static int pciserial_resume_one(struct p#endif static struct pci_device_id serial_pci_tbl[] = { + {PCI_VENDOR_ID_ADVANTECH ,PCI_DEVICE_ID_ADVANTECH_PCI3610 , +PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , + pbn_b0_bt_2_921600 }, +/* Advantech use PCI_DEVICE_ID_ADVANTECH_PCI3620 (0x3620) as 'PCI_SUBVENDOR_ID' */ {PCI_VENDOR_ID_ADVANTECH ,PCI_DEVICE_ID_ADVANTECH_PCI3620 ,PCI_DEVICE_ID_ADVANTECH_PCI3620 ,0x0001 ,0 ,0 ,