Skip to content

Commit 6c756af

Browse files
11matt556gregkh
authored andcommitted
serial: exar: Revert "serial: exar: Add support for Sealevel 7xxxC serial cards"
Hardware ID of Sealevel 7xxxC cards changed prior to release. This has rendered 14ee78d redundant. This reverts commit 14ee78d. Signed-off-by: Matthew Howell <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 95e8e7e commit 6c756af

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

drivers/tty/serial/8250/8250_exar.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@
4646
#define PCI_SUBDEVICE_ID_USR_2980 0x0128
4747
#define PCI_SUBDEVICE_ID_USR_2981 0x0129
4848

49-
#define PCI_DEVICE_ID_SEALEVEL_710xC 0x1001
50-
#define PCI_DEVICE_ID_SEALEVEL_720xC 0x1002
51-
#define PCI_DEVICE_ID_SEALEVEL_740xC 0x1004
52-
#define PCI_DEVICE_ID_SEALEVEL_780xC 0x1008
53-
#define PCI_DEVICE_ID_SEALEVEL_716xC 0x1010
54-
5549
#define UART_EXAR_INT0 0x80
5650
#define UART_EXAR_8XMODE 0x88 /* 8X sampling rate select */
5751
#define UART_EXAR_SLEEP 0x8b /* Sleep mode */
@@ -651,8 +645,6 @@ exar_pci_probe(struct pci_dev *pcidev, const struct pci_device_id *ent)
651645
nr_ports = BIT(((pcidev->device & 0x38) >> 3) - 1);
652646
else if (board->num_ports)
653647
nr_ports = board->num_ports;
654-
else if (pcidev->vendor == PCI_VENDOR_ID_SEALEVEL)
655-
nr_ports = pcidev->device & 0xff;
656648
else
657649
nr_ports = pcidev->device & 0x0f;
658650

@@ -892,12 +884,6 @@ static const struct pci_device_id exar_pci_tbl[] = {
892884
EXAR_DEVICE(COMMTECH, 4224PCI335, pbn_fastcom335_4),
893885
EXAR_DEVICE(COMMTECH, 2324PCI335, pbn_fastcom335_4),
894886
EXAR_DEVICE(COMMTECH, 2328PCI335, pbn_fastcom335_8),
895-
896-
EXAR_DEVICE(SEALEVEL, 710xC, pbn_exar_XR17V35x),
897-
EXAR_DEVICE(SEALEVEL, 720xC, pbn_exar_XR17V35x),
898-
EXAR_DEVICE(SEALEVEL, 740xC, pbn_exar_XR17V35x),
899-
EXAR_DEVICE(SEALEVEL, 780xC, pbn_exar_XR17V35x),
900-
EXAR_DEVICE(SEALEVEL, 716xC, pbn_exar_XR17V35x),
901887
{ 0, }
902888
};
903889
MODULE_DEVICE_TABLE(pci, exar_pci_tbl);

0 commit comments

Comments
 (0)