Skip to content
Snippets Groups Projects
Commit 6e08c43d authored by Alexander Baehr's avatar Alexander Baehr Committed by Greg Kroah-Hartman
Browse files

parport: add support for Netmos device 9900


The Netmos parallel port 9901 was already supported but the device 9900 was
not. This patch adds the required settings for it and was successfully
tested with the Netmos device 9900.

Signed-off-by: default avatarAlexander Baehr <abaehr@osadl.org>
Link: https://lore.kernel.org/r/20220806113334.264598686@osadl.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 22c05390
No related branches found
No related tags found
No related merge requests found
...@@ -2604,6 +2604,7 @@ enum parport_pc_pci_cards { ...@@ -2604,6 +2604,7 @@ enum parport_pc_pci_cards {
oxsemi_pcie_pport, oxsemi_pcie_pport,
aks_0100, aks_0100,
mobility_pp, mobility_pp,
netmos_9900,
netmos_9705, netmos_9705,
netmos_9715, netmos_9715,
netmos_9755, netmos_9755,
...@@ -2665,6 +2666,7 @@ static struct parport_pc_pci { ...@@ -2665,6 +2666,7 @@ static struct parport_pc_pci {
/* oxsemi_pcie_pport */ { 1, { { 0, 1 }, } }, /* oxsemi_pcie_pport */ { 1, { { 0, 1 }, } },
/* aks_0100 */ { 1, { { 0, -1 }, } }, /* aks_0100 */ { 1, { { 0, -1 }, } },
/* mobility_pp */ { 1, { { 0, 1 }, } }, /* mobility_pp */ { 1, { { 0, 1 }, } },
/* netmos_9900 */ { 1, { { 0, -1 }, } },
/* The netmos entries below are untested */ /* The netmos entries below are untested */
/* netmos_9705 */ { 1, { { 0, -1 }, } }, /* netmos_9705 */ { 1, { { 0, -1 }, } },
...@@ -2746,6 +2748,8 @@ static const struct pci_device_id parport_pc_pci_tbl[] = { ...@@ -2746,6 +2748,8 @@ static const struct pci_device_id parport_pc_pci_tbl[] = {
PCI_ANY_ID, PCI_ANY_ID, 0, 0, aks_0100 }, PCI_ANY_ID, PCI_ANY_ID, 0, 0, aks_0100 },
{ 0x14f2, 0x0121, PCI_ANY_ID, PCI_ANY_ID, 0, 0, mobility_pp }, { 0x14f2, 0x0121, PCI_ANY_ID, PCI_ANY_ID, 0, 0, mobility_pp },
/* NetMos communication controllers */ /* NetMos communication controllers */
{ PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9900,
0xA000, 0x2000, 0, 0, netmos_9900 },
{ PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9705, { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9705,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, netmos_9705 }, PCI_ANY_ID, PCI_ANY_ID, 0, 0, netmos_9705 },
{ PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9715, { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9715,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment