Initial interrupt URBs support
[minix3.git] / drivers / usbd / include / usb / usbd_interface.h
blobfbf192cc75460d873242ab6fbb607cb7d652b0fa
1 /*
2 * Interface for USBD
4 * This file holds prototypes that must be implemented by platform
5 * specific USBD
7 * Must be implemented once per USBD but may be used for multiple
8 * controllers at a time when platform has more than one HCD
9 */
11 #ifndef _USBD_INTERFACE_H_
12 #define _USBD_INTERFACE_H_
14 /*===========================================================================*
15 * Prototypes to be implemented *
16 *===========================================================================*/
17 /* Must set up HCDs in general and interrupts to
18 * be handled by DDEkit in particular */
19 int usbd_init_hcd(void);
21 /* Should clean whatever usbd_init_hcd used */
22 void usbd_deinit_hcd(void);
24 #endif /* !_USBD_INTERFACE_H_ */