On 2012年11月15日 04:12, Greg KH wrote:
On Tue, Nov 13, 2012 at 04:07:17PM +0800, Lan Tianyu wrote:
+for (i = 1; i = ports; i++) {
+if (usb_get_hub_port_connect_type(
+ehci_to_hcd(ehci)-self.root_hub, i)
+==
On Tue, Nov 13, 2012 at 04:07:17PM +0800, Lan Tianyu wrote:
+ for (i = 1; i = ports; i++) {
+ if (usb_get_hub_port_connect_type(
+ ehci_to_hcd(ehci)-self.root_hub, i)
+ == USB_PORT_CONNECT_TYPE_HARD_WIRED)
+
ACPI provide _PLD and _UPC aml methods to describe usb port
visibility and connectability. This patch is to use those information
to change ehci root hub descriptors and set usb hub port's DeviceRemovable
in the hub_configure(). When hub descriptor request is issued at first time,
usb port device