[PATCH 5/4] USB: OHCI/EHCI: automatically enable MSI on MosChips MCS9990

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

 



Sander Eikelenboom wrote:
> I will see if i can get these to apply to 2.6.37-rc1, and test my
> moschip 9990 ohci/ehci controllers, and supply the ID's for the
> whitelist if applicable.

According to the datasheet, it would look like this.

As yet untested; waiting for Sander's Tested-by.

--8<---------------------------------------------------------------->8--
USB: OHCI/EHCI: automatically enable MSI on MosChips MCS9990

Add MSI whitelist entries for the MosChips MCS9990 PCIe USB controller.

Signed-off-by: Clemens Ladisch <clemens@xxxxxxxxxx>
---
 drivers/usb/host/ehci-pci.c |    7 +++++++
 drivers/usb/host/ohci-pci.c |    7 +++++++
 2 files changed, 14 insertions(+)

--- a/drivers/usb/host/ehci-pci.c
+++ b/drivers/usb/host/ehci-pci.c
@@ -53,6 +53,13 @@
 			return get_ati_southbridge_revision() >= 0x3c;
 		}
 		break;
+
+	case PCI_VENDOR_ID_NETMOS:
+		switch (dev->device) {
+		case 0x9990: /* MCS9990 */
+			return true;
+		}
+		break;
 	}
 
 	return false;
--- a/drivers/usb/host/ohci-pci.c
+++ b/drivers/usb/host/ohci-pci.c
@@ -385,6 +385,13 @@
 			break;
 		}
 		break;
+
+	case PCI_VENDOR_ID_NETMOS:
+		switch (dev->device) {
+		case 0x9990: /* MCS9990 */
+			return true;
+		}
+		break;
 	}
 
 	return false;
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux