Skip to content

Commit 55742de

Browse files
jiaqingz-intelgregkh
authored andcommitted
parport_pc: add support for ASIX AX99100
commit 16aae4c64600a6319a6f10dbff833fa198bf9599 upstream. 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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Acked-by: Sudip Mukherjee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Tomita Moeko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 06c3423 commit 55742de

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/parport/parport_pc.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2612,6 +2612,7 @@ enum parport_pc_pci_cards {
26122612
netmos_9815,
26132613
netmos_9901,
26142614
netmos_9865,
2615+
asix_ax99100,
26152616
quatech_sppxp100,
26162617
wch_ch382l,
26172618
brainboxes_uc146,
@@ -2678,6 +2679,7 @@ static struct parport_pc_pci {
26782679
/* netmos_9815 */ { 2, { { 0, 1 }, { 2, 3 }, } },
26792680
/* netmos_9901 */ { 1, { { 0, -1 }, } },
26802681
/* netmos_9865 */ { 1, { { 0, -1 }, } },
2682+
/* asix_ax99100 */ { 1, { { 0, 1 }, } },
26812683
/* quatech_sppxp100 */ { 1, { { 0, 1 }, } },
26822684
/* wch_ch382l */ { 1, { { 2, -1 }, } },
26832685
/* brainboxes_uc146 */ { 1, { { 3, -1 }, } },
@@ -2770,6 +2772,9 @@ static const struct pci_device_id parport_pc_pci_tbl[] = {
27702772
0xA000, 0x1000, 0, 0, netmos_9865 },
27712773
{ PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9865,
27722774
0xA000, 0x2000, 0, 0, netmos_9865 },
2775+
/* ASIX AX99100 PCIe to Multi I/O Controller */
2776+
{ PCI_VENDOR_ID_ASIX, PCI_DEVICE_ID_ASIX_AX99100,
2777+
0xA000, 0x2000, 0, 0, asix_ax99100 },
27732778
/* Quatech SPPXP-100 Parallel port PCI ExpressCard */
27742779
{ PCI_VENDOR_ID_QUATECH, PCI_DEVICE_ID_QUATECH_SPPXP_100,
27752780
PCI_ANY_ID, PCI_ANY_ID, 0, 0, quatech_sppxp100 },

0 commit comments

Comments
 (0)