On Mon, Jun 19, 2023 at 10:08:19AM +0000, Jiaqing Zhao wrote: > Commit eb26dfe8aa7e ("8250: add support for ASIX devices with a FIFO > bug") merged on Jul 13, 2012 adds a quirk for PCI_VENDOR_ID_ASIX > (0x9710). But that ID is the same as PCI_VENDOR_ID_NETMOS defined in > 1f8b061050c7 ("[PATCH] Netmos parallel/serial/combo support") merged > on Mar 28, 2005. In pci_serial_quirks array, the NetMos entry always > takes precedence over the ASIX entry even since it was initially > merged, code in that commit is always unreachable. > > In my tests adding the FIFO workaround to pci_netmos_init() makes no > difference, and the vendor driver also does not have such workaround. > Given that the code was never used for over a decade, it's safe to > revert it. > > Also, the real PCI_VENDOR_ID_ASIX should be 0x125b, which is used on > their newer AX99100 PCIe serial controllers released on 2016. The FIFO > workaround should not be intended for these newer controllers, and it > was never implemented in vendor driver. > > This reverts commit eb26dfe8aa7eeb5a5aa0b7574550125f8aa4c3b3. > > Signed-off-by: Jiaqing Zhao <jiaqing.zhao@xxxxxxxxxxxxxxx> > Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> Fails to apply to my tree :( Can you rebase this against the tty-next branch of my tty.git tree on kernel.org? thanks, greg k-h