Re: patch question - brainboxes UC260 card detection support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2018-02-09 at 22:25 +0100, Nikola Ciprich wrote:
> > According to the script you are using BAR 2 with I/O resource.
> 
> hmm, will have to read a bit more about all that, but OK..
> 
> here's v2, according to your comments:
> 

Please, resubmit through normal way as v2, using tag
Suggested-by.

While doing this, follow https://www.kernel.org/doc/Documentation/proces
s/submit-checklist.rst

Thanks!

> diff --git a/drivers/tty/serial/8250/8250_pci.c
> b/drivers/tty/serial/8250/8250_pci.c
> index 54adf8d..e87fa42 100644
> --- a/drivers/tty/serial/8250/8250_pci.c
> +++ b/drivers/tty/serial/8250/8250_pci.c
> @@ -4699,6 +4705,15 @@ static SIMPLE_DEV_PM_OPS(pciserial_pm_ops,
> pciserial_suspend_one,
>  		PCI_ANY_ID, PCI_ANY_ID, 0, 0,    /* 135a.0dc0 */
>  		pbn_b2_4_115200 },
>  	/*
> +	 * BrainBoxes UC260
> +	*/
> +	{	PCI_VENDOR_ID_INTASHIELD, 0x0D21,
> +		PCI_ANY_ID, PCI_ANY_ID,
> PCI_CLASS_COMMUNICATION_MULTISERIAL << 8, 0xffff00,
> +		pbn_b2_4_115200 },
> +	{	PCI_VENDOR_ID_INTASHIELD, 0x0E34,
> +		PCI_ANY_ID, PCI_ANY_ID,
> PCI_CLASS_COMMUNICATION_MULTISERIAL << 8, 0xffff00,
> +		pbn_b2_4_115200 },
> +	/*
>  	 * Perle PCI-RAS cards
>  	 */
>  	{       PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9030,
> 
> 
> now the card is autodetected correctly :)
> 
> 
> > 
> > Shouldn't be
> >    PCI_CLASS_COMMUNICATION_MULTISERIAL << 8, 0xffff00,
> 
> yes, that was one of needed changes. This, and changing to FL_BASE2
> thanks for the tip.
> 
> > 
> > Elaborate "doesn't work".
> 
> the card was not detected, but now it is..
> 
> 

-- 
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux