Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

parport_pc: add support for ASIX AX99100

The PCI function 2 on ASIX AX99100 PCIe to Multi I/O Controller can be
configured as a single-port parallel port controller. The subvendor id
is 0x2000 when configured as parallel port. It supports IEEE-1284 EPP /
ECP with its ECR on BAR1.

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Link: https://lore.kernel.org/r/20230724083933.3173513-5-jiaqing.zhao@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jiaqing Zhao and committed by
Greg Kroah-Hartman
16aae4c6 0b322165

+5
+5
drivers/parport/parport_pc.c
··· 2655 2655 netmos_9815, 2656 2656 netmos_9901, 2657 2657 netmos_9865, 2658 + asix_ax99100, 2658 2659 quatech_sppxp100, 2659 2660 wch_ch382l, 2660 2661 }; ··· 2734 2733 /* netmos_9815 */ { 2, { { 0, 1 }, { 2, 3 }, } }, 2735 2734 /* netmos_9901 */ { 1, { { 0, -1 }, } }, 2736 2735 /* netmos_9865 */ { 1, { { 0, -1 }, } }, 2736 + /* asix_ax99100 */ { 1, { { 0, 1 }, } }, 2737 2737 /* quatech_sppxp100 */ { 1, { { 0, 1 }, } }, 2738 2738 /* wch_ch382l */ { 1, { { 2, -1 }, } }, 2739 2739 }; ··· 2825 2823 0xA000, 0x1000, 0, 0, netmos_9865 }, 2826 2824 { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9865, 2827 2825 0xA000, 0x2000, 0, 0, netmos_9865 }, 2826 + /* ASIX AX99100 PCIe to Multi I/O Controller */ 2827 + { PCI_VENDOR_ID_ASIX, PCI_DEVICE_ID_ASIX_AX99100, 2828 + 0xA000, 0x2000, 0, 0, asix_ax99100 }, 2828 2829 /* Quatech SPPXP-100 Parallel port PCI ExpressCard */ 2829 2830 { PCI_VENDOR_ID_QUATECH, PCI_DEVICE_ID_QUATECH_SPPXP_100, 2830 2831 PCI_ANY_ID, PCI_ANY_ID, 0, 0, quatech_sppxp100 },