Skip to contentSkip to conversation

serial: exar: Revert "serial: exar: Add support for Sealevel 7xxxC serial cards"

PATCH Superseded Matthew Howell 2 participants 3 messages Sep 14, 2023 – Sep 18, 2023 TTY layer and serial drivers

v6 of 9 Superseded Latest is v9 →

lore
Share & tools
lore
#0 lore raw

PATCH v6 1/2 serial: exar: Revert "serial: exar: Add support for Sealevel 7xxxC serial cards"

From: Matthew Howell <[email protected]>

Hardware ID of Sealevel 7xxxC cards changed prior to release. This has rendered 14ee78d5932a redundant.

Revert "serial: exar: Add support for Sealevel 7xxxC serial cards"

This reverts commit 14ee78d5932afeb710c8305196a676a715bfdea8.

Fixes 14ee78d5932a ("Add support for Sealevel 7xxxC serial cards")

---

drivers/tty/serial/8250/8250_exar.c +0 -14
index 077c3ba3539e..3886f78ecbbf 100644
@@ -47,12 +47,6 @@
 #define PCI_SUBDEVICE_ID_USR_2980		0x0128
 #define PCI_SUBDEVICE_ID_USR_2981		0x0129
 
-#define PCI_DEVICE_ID_SEALEVEL_710xC		0x1001
-#define PCI_DEVICE_ID_SEALEVEL_720xC		0x1002
-#define PCI_DEVICE_ID_SEALEVEL_740xC		0x1004
-#define PCI_DEVICE_ID_SEALEVEL_780xC		0x1008
-#define PCI_DEVICE_ID_SEALEVEL_716xC		0x1010
-
 #define UART_EXAR_INT0		0x80
 #define UART_EXAR_8XMODE	0x88	/* 8X sampling rate select */
 #define UART_EXAR_SLEEP		0x8b	/* Sleep mode */
@@ -652,8 +646,6 @@ exar_pci_probe(struct pci_dev *pcidev, const struct pci_device_id *ent)
 		nr_ports = BIT(((pcidev->device & 0x38) >> 3) - 1);
 	else if (board->num_ports)
 		nr_ports = board->num_ports;
-	else if (pcidev->vendor == PCI_VENDOR_ID_SEALEVEL)
-		nr_ports = pcidev->device & 0xff;
 	else
 		nr_ports = pcidev->device & 0x0f;
 
@@ -893,12 +885,6 @@ static const struct pci_device_id exar_pci_tbl[] = {
 	EXAR_DEVICE(COMMTECH, 4224PCI335, pbn_fastcom335_4),
 	EXAR_DEVICE(COMMTECH, 2324PCI335, pbn_fastcom335_4),
 	EXAR_DEVICE(COMMTECH, 2328PCI335, pbn_fastcom335_8),
-
-	EXAR_DEVICE(SEALEVEL, 710xC, pbn_exar_XR17V35x),
-	EXAR_DEVICE(SEALEVEL, 720xC, pbn_exar_XR17V35x),
-	EXAR_DEVICE(SEALEVEL, 740xC, pbn_exar_XR17V35x),
-	EXAR_DEVICE(SEALEVEL, 780xC, pbn_exar_XR17V35x),
-	EXAR_DEVICE(SEALEVEL, 716xC, pbn_exar_XR17V35x),
 	{ 0, }
 };
 MODULE_DEVICE_TABLE(pci, exar_pci_tbl);
maintainer
#1 lore raw
Quoted 3 lines · Matthew Howell

From: Matthew Howell <[email protected]>

Hardware ID of Sealevel 7xxxC cards changed prior to release. This has

trailing whitespace :(

Quoted 7 lines

rendered 14ee78d5932a redundant.

Revert "serial: exar: Add support for Sealevel 7xxxC serial cards"

This reverts commit 14ee78d5932afeb710c8305196a676a715bfdea8.

No need for this :(

Quoted 1 line
Fixes 14ee78d5932a ("Add support for Sealevel 7xxxC serial cards")

Shouldn't you also cc: stable?

thanks,

greg k-h

#2 lore raw
Quoted 15 lines · Greg KH
Quoted 3 lines · Matthew Howell

From: Matthew Howell <[email protected]>

Hardware ID of Sealevel 7xxxC cards changed prior to release. This has

trailing whitespace :(

Quoted 6 lines

rendered 14ee78d5932a redundant.

Revert "serial: exar: Add support for Sealevel 7xxxC serial cards"

This reverts commit 14ee78d5932afeb710c8305196a676a715bfdea8.

Quoted 7 lines
Quoted 1 line

No need for this :(

Quoted 1 line
Fixes 14ee78d5932a ("Add support for Sealevel 7xxxC serial cards")

Shouldn't you also cc: stable?

I can do so in the next submission if that is appropriate. The documentation only mentioned cc'ing stable for fixes to 'severe bugs' and I didn't think this qualifed.

Also, could you clarify whether you mean just adding the Cc: stable tag, or adding the tag AND cc'ing the stable mailing list?

Quoted 4 lines

thanks,

greg k-h