diff mbox series

tty: serial: 8250: Add Brainboxes XC devices

Message ID DB7PR02MB3802907A9360F27F6CD67AAFC4D62@DB7PR02MB3802.eurprd02.prod.outlook.com
State New
Headers show
Series tty: serial: 8250: Add Brainboxes XC devices | expand

Commit Message

Cameron Williams March 10, 2025, 10:27 p.m. UTC
These ExpressCard devices use the OxPCIE chip and can be used with
this driver.

Signed-off-by: Cameron Williams <cang1@live.co.uk>
---
 drivers/tty/serial/8250/8250_pci.c | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Comments

Cameron Williams March 11, 2025, 6:56 a.m. UTC | #1
Cc'ing stable

Cc: stable@vger.kernel.org

On 10 March 2025 22:27:10 GMT, Cameron Williams <cang1@live.co.uk> wrote:
>These ExpressCard devices use the OxPCIE chip and can be used with
>this driver.
>
>Signed-off-by: Cameron Williams <cang1@live.co.uk>
>---
> drivers/tty/serial/8250/8250_pci.c | 30 ++++++++++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
>
>diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c
>index df4d0d832..911774fb8 100644
>--- a/drivers/tty/serial/8250/8250_pci.c
>+++ b/drivers/tty/serial/8250/8250_pci.c
>@@ -2727,6 +2727,22 @@ static struct pci_serial_quirk pci_serial_quirks[] = {
> 		.init		= pci_oxsemi_tornado_init,
> 		.setup		= pci_oxsemi_tornado_setup,
> 	},
>+	{
>+		.vendor		= PCI_VENDOR_ID_INTASHIELD,
>+		.device		= 0x4026,
>+		.subvendor	= PCI_ANY_ID,
>+		.subdevice	= PCI_ANY_ID,
>+		.init		= pci_oxsemi_tornado_init,
>+		.setup		= pci_oxsemi_tornado_setup,
>+	},
>+	{
>+		.vendor		= PCI_VENDOR_ID_INTASHIELD,
>+		.device		= 0x4021,
>+		.subvendor	= PCI_ANY_ID,
>+		.subdevice	= PCI_ANY_ID,
>+		.init		= pci_oxsemi_tornado_init,
>+		.setup		= pci_oxsemi_tornado_setup,
>+	},
> 	{
> 		.vendor         = PCI_VENDOR_ID_INTEL,
> 		.device         = 0x8811,
>@@ -5599,6 +5615,20 @@ static const struct pci_device_id serial_pci_tbl[] = {
> 		PCI_ANY_ID, PCI_ANY_ID,
> 		0, 0,
> 		pbn_oxsemi_1_15625000 },
>+	/*
>+	 * Brainboxes XC-235
>+	 */
>+	{	PCI_VENDOR_ID_INTASHIELD, 0x4026,
>+		PCI_ANY_ID, PCI_ANY_ID,
>+		0, 0,
>+		pbn_oxsemi_1_15625000 },
>+	/*
>+	 * Brainboxes XC-475
>+	 */
>+	{	PCI_VENDOR_ID_INTASHIELD, 0x4021,
>+		PCI_ANY_ID, PCI_ANY_ID,
>+		0, 0,
>+		pbn_oxsemi_1_15625000 },
> 
> 	/*
> 	 * Perle PCI-RAS cards
Greg Kroah-Hartman March 11, 2025, 6:58 a.m. UTC | #2
On Tue, Mar 11, 2025 at 06:54:00AM +0000, Cameron Williams wrote:
> Cc'ing stable
> 
> Cc: stable@vger.kernel.org
> 

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>
diff mbox series

Patch

diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c
index df4d0d832..911774fb8 100644
--- a/drivers/tty/serial/8250/8250_pci.c
+++ b/drivers/tty/serial/8250/8250_pci.c
@@ -2727,6 +2727,22 @@  static struct pci_serial_quirk pci_serial_quirks[] = {
 		.init		= pci_oxsemi_tornado_init,
 		.setup		= pci_oxsemi_tornado_setup,
 	},
+	{
+		.vendor		= PCI_VENDOR_ID_INTASHIELD,
+		.device		= 0x4026,
+		.subvendor	= PCI_ANY_ID,
+		.subdevice	= PCI_ANY_ID,
+		.init		= pci_oxsemi_tornado_init,
+		.setup		= pci_oxsemi_tornado_setup,
+	},
+	{
+		.vendor		= PCI_VENDOR_ID_INTASHIELD,
+		.device		= 0x4021,
+		.subvendor	= PCI_ANY_ID,
+		.subdevice	= PCI_ANY_ID,
+		.init		= pci_oxsemi_tornado_init,
+		.setup		= pci_oxsemi_tornado_setup,
+	},
 	{
 		.vendor         = PCI_VENDOR_ID_INTEL,
 		.device         = 0x8811,
@@ -5599,6 +5615,20 @@  static const struct pci_device_id serial_pci_tbl[] = {
 		PCI_ANY_ID, PCI_ANY_ID,
 		0, 0,
 		pbn_oxsemi_1_15625000 },
+	/*
+	 * Brainboxes XC-235
+	 */
+	{	PCI_VENDOR_ID_INTASHIELD, 0x4026,
+		PCI_ANY_ID, PCI_ANY_ID,
+		0, 0,
+		pbn_oxsemi_1_15625000 },
+	/*
+	 * Brainboxes XC-475
+	 */
+	{	PCI_VENDOR_ID_INTASHIELD, 0x4021,
+		PCI_ANY_ID, PCI_ANY_ID,
+		0, 0,
+		pbn_oxsemi_1_15625000 },
 
 	/*
 	 * Perle PCI-RAS cards