/* There are cases when the host controller fails to enable the port due to, for example, insufficient power that can be supplied to the device from the USB bus. In those cases, the messages printed here are not helpful.  */
static int ehci_xilinx_port_handed_over(struct usb_hcd *hcd, int portnum)
/* There are cases when the host controller fails to enable the port due to, for example, insufficient power that can be supplied to the device from the USB bus. In those cases, the messages printed here are not helpful.  */
static int ehci_xilinx_port_handed_over(struct usb_hcd *hcd, int portnum)
{
	dev_warn(hcd->self.controller, "port %d cannot be enabled\n", portnum);
	if (hcd->has_tt) {
		dev_warn(hcd->self.controller,
			"Maybe you have connected a low speed device?\n");
		dev_warn(hcd->self.controller,
			"We do not support low speed devices\n");
	} else {
		dev_warn(hcd->self.controller,
			"Maybe your device is not a high speed device?\n");
		dev_warn(hcd->self.controller,
			"The USB host controller does not support full speed "
			"nor low speed devices\n");
		dev_warn(hcd->self.controller,
			"You can reconfigure the host controller to have "
			"full speed support\n");
	}
	return 0;
}