serial/8250: Add support for later SUNIX (TIMEDIA) boards.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Greg KH
maintainerQuoted 55 lines · Stephen Chivers
Add support for later SUNIX (TIMEDIA) Universal PCI Single and Multi-Port Communications Boards.
These boards have PCI Vendor ID 1fd4 with device ID 1999 but otherwise appear to be the same as the TIMEDIA boards already supported by
8250_pci.cTested with the two port serial board part number SER5037A.
Signed-off-by Stephen Chivers <[email protected]>--- drivers/tty/serial/8250/8250_pci.c | 18 ++++++++++++++++++ include/linux/pci_ids.h | 3 +++ 2 files changed, 21 insertions(+), 0 deletions(-)drivers/tty/serial/8250/8250_pci.c +18
-0@@ -1912,6 +1912,17 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { .setup = pci_siig_setup, },/* +* SUNIX +*/ + { + .vendor = PCI_VENDOR_ID_SUNIX, + .device = PCI_DEVICE_ID_SUNIX_1999, + .subvendor = PCI_VENDOR_ID_SUNIX, + .subdevice = PCI_ANY_ID, + .init = pci_timedia_init, + .setup = pci_timedia_setup, + }, +/* * Titan cards */ {@@ -4180,6 +4191,13 @@ static struct pci_device_id serial_pci_tbl[] = { pbn_b0_bt_1_921600 },/* +* SUNIX +*/ + {PCI_VENDOR_ID_SUNIX ,PCI_DEVICE_ID_SUNIX_1999 , +PCI_VENDOR_ID_SUNIX ,PCI_ANY_ID ,0 ,0 , + pbn_b0_bt_1_921600 }, + +/* * AFAVLAB serial card, from Harald Welte <[email protected]> */ { PCI_VENDOR_ID_AFAVLAB, PCI_DEVICE_ID_AFAVLAB_P028,include/linux/pci_ids.h +0
-0
include/linux/pci_ids.h line 2470
Quoted 5 lines
include/linux/pci_ids.h +2
-0@@ -2466,6 +2466,9 @@#define PCI_DEVICE_ID_TEHUTI_3010 0x3010#define PCI_DEVICE_ID_TEHUTI_3014 0x3014 +#define PCI_VENDOR_ID_SUNIX 0x1fd4 +#define PCI_DEVICE_ID_SUNIX_1999 0x1999
Please read the top of this file about how you shouldn't be adding new devices to it that are only referenced in one kernel file.
Please fix this up and resend.
thanks,
greg k-h