hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/usb/host/uhci-pci.c
....@@ -119,11 +119,13 @@
119119
120120 uhci->rh_numports = uhci_count_ports(hcd);
121121
122
- /* Intel controllers report the OverCurrent bit active on.
123
- * VIA controllers report it active off, so we'll adjust the
124
- * bit value. (It's not standardized in the UHCI spec.)
122
+ /*
123
+ * Intel controllers report the OverCurrent bit active on. VIA
124
+ * and ZHAOXIN controllers report it active off, so we'll adjust
125
+ * the bit value. (It's not standardized in the UHCI spec.)
125126 */
126
- if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_VIA)
127
+ if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_VIA ||
128
+ to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_ZHAOXIN)
127129 uhci->oc_low = 1;
128130
129131 /* HP's server management chip requires a longer port reset delay. */