25 static int ohci_sh_start(
struct usb_hcd *hcd)
35 static const struct hc_driver ohci_sh_hc_driver = {
36 .description = hcd_name,
37 .product_desc =
"SuperH OHCI",
38 .hcd_priv_size =
sizeof(
struct ohci_hcd),
44 .flags = HCD_USB11 | HCD_MEMORY,
49 .start = ohci_sh_start,
51 .shutdown = ohci_shutdown,
56 .urb_enqueue = ohci_urb_enqueue,
57 .urb_dequeue = ohci_urb_dequeue,
58 .endpoint_disable = ohci_endpoint_disable,
63 .get_frame_number = ohci_get_frame,
68 .hub_status_data = ohci_hub_status_data,
69 .hub_control = ohci_hub_control,
71 .bus_suspend = ohci_bus_suspend,
72 .bus_resume = ohci_bus_resume,
82 struct usb_hcd *hcd =
NULL;
91 dev_err(&pdev->
dev,
"platform_get_resource error.\n");
97 dev_err(&pdev->
dev,
"platform_get_irq error.\n");
104 dev_err(&pdev->
dev,
"Failed to create hcd\n");
109 hcd->rsrc_start = res->
start;
110 hcd->rsrc_len = resource_size(res);
123 struct usb_hcd *hcd = platform_get_drvdata(pdev);
132 .probe = ohci_hcd_sh_probe,
133 .remove = ohci_hcd_sh_remove,