Re: [PATCH] tty: serial: 8250: Fixes: Fix port count mismatch with the device

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

 



On Fri, Jun 14, 2024 at 05:03:22PM +0800, Crescent Hsieh wrote:
> Normally, the number of ports is indicated by the third digit of the
> device ID on Moxa PCI serial boards. For example, `0x1121` indicates a
> device with 2 ports.
> 
> However, `CP116E_A_A` and `CP116E_A_B` are exceptions; they have 8
> ports, but the third digit of the device ID is `6`.
> 
> This patch introduces a function to retrieve the number of ports on Moxa
> PCI serial boards, addressing the issue described above.
> 
> Signed-off-by: Crescent Hsieh <crescentcy.hsieh@xxxxxxxx>
> ---
>  drivers/tty/serial/8250/8250_pci.c | 13 ++++++++++++-
>  1 file changed, 12 insertions(+), 1 deletion(-)

What commit id does this fix?

thanks,

greg k-h




[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