Skip to content

Commit f35ce68

Browse files
Cameron Williamsgregkh
authored andcommitted
tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks
commit e4876da upstream. Some of the later revisions of the Brainboxes PX cards are based on the Oxford Semiconductor chipset. Due to the chip's unique setup these cards need to be initialised. Previously these were tested against a reference card with the same broken baudrate on another PC, cancelling out the effect. With this patch they work and can transfer/receive find against an FTDI-based device. Add all of the cards which require this setup to the quirks table. Thanks to Maciej W. Rozycki for clarification on this chip. Fixes: ef5a03a ("tty: 8250: Add support for Brainboxes PX cards.") Cc: [email protected] Signed-off-by: Cameron Williams <[email protected]> Link: https://lore.kernel.org/r/DU0PR02MB7899D222A4AB2A4E8C57108FC4DBA@DU0PR02MB7899.eurprd02.prod.outlook.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent e74f2c7 commit f35ce68

File tree

1 file changed

+147
-0
lines changed

1 file changed

+147
-0
lines changed

drivers/tty/serial/8250/8250_pci.c

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2429,6 +2429,153 @@ static struct pci_serial_quirk pci_serial_quirks[] = {
24292429
.init = pci_oxsemi_tornado_init,
24302430
.setup = pci_oxsemi_tornado_setup,
24312431
},
2432+
/*
2433+
* Brainboxes devices - all Oxsemi based
2434+
*/
2435+
{
2436+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2437+
.device = 0x4027,
2438+
.subvendor = PCI_ANY_ID,
2439+
.subdevice = PCI_ANY_ID,
2440+
.init = pci_oxsemi_tornado_init,
2441+
.setup = pci_oxsemi_tornado_setup,
2442+
},
2443+
{
2444+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2445+
.device = 0x4028,
2446+
.subvendor = PCI_ANY_ID,
2447+
.subdevice = PCI_ANY_ID,
2448+
.init = pci_oxsemi_tornado_init,
2449+
.setup = pci_oxsemi_tornado_setup,
2450+
},
2451+
{
2452+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2453+
.device = 0x4029,
2454+
.subvendor = PCI_ANY_ID,
2455+
.subdevice = PCI_ANY_ID,
2456+
.init = pci_oxsemi_tornado_init,
2457+
.setup = pci_oxsemi_tornado_setup,
2458+
},
2459+
{
2460+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2461+
.device = 0x4019,
2462+
.subvendor = PCI_ANY_ID,
2463+
.subdevice = PCI_ANY_ID,
2464+
.init = pci_oxsemi_tornado_init,
2465+
.setup = pci_oxsemi_tornado_setup,
2466+
},
2467+
{
2468+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2469+
.device = 0x4016,
2470+
.subvendor = PCI_ANY_ID,
2471+
.subdevice = PCI_ANY_ID,
2472+
.init = pci_oxsemi_tornado_init,
2473+
.setup = pci_oxsemi_tornado_setup,
2474+
},
2475+
{
2476+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2477+
.device = 0x4015,
2478+
.subvendor = PCI_ANY_ID,
2479+
.subdevice = PCI_ANY_ID,
2480+
.init = pci_oxsemi_tornado_init,
2481+
.setup = pci_oxsemi_tornado_setup,
2482+
},
2483+
{
2484+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2485+
.device = 0x400A,
2486+
.subvendor = PCI_ANY_ID,
2487+
.subdevice = PCI_ANY_ID,
2488+
.init = pci_oxsemi_tornado_init,
2489+
.setup = pci_oxsemi_tornado_setup,
2490+
},
2491+
{
2492+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2493+
.device = 0x400E,
2494+
.subvendor = PCI_ANY_ID,
2495+
.subdevice = PCI_ANY_ID,
2496+
.init = pci_oxsemi_tornado_init,
2497+
.setup = pci_oxsemi_tornado_setup,
2498+
},
2499+
{
2500+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2501+
.device = 0x400C,
2502+
.subvendor = PCI_ANY_ID,
2503+
.subdevice = PCI_ANY_ID,
2504+
.init = pci_oxsemi_tornado_init,
2505+
.setup = pci_oxsemi_tornado_setup,
2506+
},
2507+
{
2508+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2509+
.device = 0x400B,
2510+
.subvendor = PCI_ANY_ID,
2511+
.subdevice = PCI_ANY_ID,
2512+
.init = pci_oxsemi_tornado_init,
2513+
.setup = pci_oxsemi_tornado_setup,
2514+
},
2515+
{
2516+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2517+
.device = 0x400F,
2518+
.subvendor = PCI_ANY_ID,
2519+
.subdevice = PCI_ANY_ID,
2520+
.init = pci_oxsemi_tornado_init,
2521+
.setup = pci_oxsemi_tornado_setup,
2522+
},
2523+
{
2524+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2525+
.device = 0x4010,
2526+
.subvendor = PCI_ANY_ID,
2527+
.subdevice = PCI_ANY_ID,
2528+
.init = pci_oxsemi_tornado_init,
2529+
.setup = pci_oxsemi_tornado_setup,
2530+
},
2531+
{
2532+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2533+
.device = 0x4011,
2534+
.subvendor = PCI_ANY_ID,
2535+
.subdevice = PCI_ANY_ID,
2536+
.init = pci_oxsemi_tornado_init,
2537+
.setup = pci_oxsemi_tornado_setup,
2538+
},
2539+
{
2540+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2541+
.device = 0x401D,
2542+
.subvendor = PCI_ANY_ID,
2543+
.subdevice = PCI_ANY_ID,
2544+
.init = pci_oxsemi_tornado_init,
2545+
.setup = pci_oxsemi_tornado_setup,
2546+
},
2547+
{
2548+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2549+
.device = 0x401E,
2550+
.subvendor = PCI_ANY_ID,
2551+
.subdevice = PCI_ANY_ID,
2552+
.init = pci_oxsemi_tornado_init,
2553+
.setup = pci_oxsemi_tornado_setup,
2554+
},
2555+
{
2556+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2557+
.device = 0x4013,
2558+
.subvendor = PCI_ANY_ID,
2559+
.subdevice = PCI_ANY_ID,
2560+
.init = pci_oxsemi_tornado_init,
2561+
.setup = pci_oxsemi_tornado_setup,
2562+
},
2563+
{
2564+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2565+
.device = 0x4017,
2566+
.subvendor = PCI_ANY_ID,
2567+
.subdevice = PCI_ANY_ID,
2568+
.init = pci_oxsemi_tornado_init,
2569+
.setup = pci_oxsemi_tornado_setup,
2570+
},
2571+
{
2572+
.vendor = PCI_VENDOR_ID_INTASHIELD,
2573+
.device = 0x4018,
2574+
.subvendor = PCI_ANY_ID,
2575+
.subdevice = PCI_ANY_ID,
2576+
.init = pci_oxsemi_tornado_init,
2577+
.setup = pci_oxsemi_tornado_setup,
2578+
},
24322579
{
24332580
.vendor = PCI_VENDOR_ID_INTEL,
24342581
.device = 0x8811,

0 commit comments

Comments
 (0)