On Fri, 18 May 2012, Chen Peter-B29397 wrote: > Currently, there is only one phy pointer (struct usb_phy *transceiver) > per controller, so it can't know individual phy per port at multiple > ports controller situation. That's going to change, isn't it? > It needs us consider phy_user's port number when design phy driver. > Any suggestions that how phy driver know its user's port number at phy's probe. I don't know. That information has to be provided by the platform somehow. > phy driver will load earlier than hcd driver, and at phy driver's > probe, it will add itself to phy_list, it needs to know port number at that time. Not just the port number but also the controller instance -- there may be more than one host controller and they are likely to use different PHYs. 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