/* udc_disable_interrupts - disable interrupts switch off interrupts udc_ep0_packetsize - return ep0 packetsize  */
void udc_enable(struct usb_device_instance *device)
/* udc_disable_interrupts - disable interrupts switch off interrupts udc_ep0_packetsize - return ep0 packetsize  */
void udc_enable(struct usb_device_instance *device)
{
	UDCDBGA ("enable device %p, status %d", device, device->status);
	udc_devstat = 0;
	udc_device = device;
	if (!ep0_urb) {
		ep0_urb =
			usbd_alloc_urb (udc_device,
					udc_device->bus->endpoint_array);
	} else {
		serial_printf ("udc_enable: ep0_urb already allocated %p\n",
			       ep0_urb);
	}
	UDCDBG ("Check clock status");
	UDCREG (STATUS_REQ);
	outl (inl (FUNC_MUX_CTRL_0) | UDC_VBUS_CTRL | UDC_VBUS_MODE,
	      FUNC_MUX_CTRL_0);
	UDCREGL (FUNC_MUX_CTRL_0);
	omap1510_configure_device (device);
}