On Mon, 24 Feb 2014, Dan Williams wrote: > Subject: usb: assign default peer ports for root hubs > > From: Dan Williams <dan.j.williams@xxxxxxxxx> > > Assume that the peer of a superspeed port is the port with the same id > on the shared_hcd root hub. This identification scheme is required of > external hubs by the USB3 spec [1]. However, for root hubs, tier mismatch > may be in effect [2]. Tier mismatch can only be enumerated via platform > firmware. For now, simply perform the nominal association. > > [1]: usb 3.1 section 10.3.3 > [2]: xhci 1.1 appendix D > > Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx> > @@ -163,12 +227,18 @@ int usb_hub_create_port_device(struct usb_hub *hub, int port1) > port_dev->dev.parent = hub->intfdev; > port_dev->dev.groups = port_dev_group; > port_dev->dev.type = &usb_port_device_type; > - dev_set_name(&port_dev->dev, "port%d", port1); > - > + dev_set_name(&port_dev->dev, "%s-port%d", dev_name(&hub->hdev->dev), > + port1); This probably belongs in its own patch. Alan Stern -- 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