forked from len0rd/rockbox
And of course the stubs still need to be there...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26129 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ecdbab95f4
commit
e36cfed9bf
1 changed files with 84 additions and 0 deletions
|
@ -962,4 +962,88 @@ bool usb_drv_stalled(int ep, bool in)
|
||||||
return USB_EP_CTRL(ep, in) & USB_EP_CTRL_STALL ? true : false;
|
return USB_EP_CTRL(ep, in) & USB_EP_CTRL_STALL ? true : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
void usb_attach(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void usb_drv_init(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void usb_drv_exit(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
int usb_drv_port_speed(void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
int usb_drv_request_endpoint(int type, int dir)
|
||||||
|
{
|
||||||
|
(void)type;
|
||||||
|
(void)dir;
|
||||||
|
}
|
||||||
|
|
||||||
|
void usb_drv_release_endpoint(int ep)
|
||||||
|
{
|
||||||
|
(void)ep;
|
||||||
|
}
|
||||||
|
|
||||||
|
void usb_drv_cancel_all_transfers(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
static void reset_endpoints(int init)
|
||||||
|
{
|
||||||
|
(void)init;
|
||||||
|
}
|
||||||
|
|
||||||
|
void usb_drv_set_test_mode(int mode)
|
||||||
|
{
|
||||||
|
(void)mode;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* handled internally by controller */
|
||||||
|
void usb_drv_set_address(int address)
|
||||||
|
{
|
||||||
|
(void)address;
|
||||||
|
}
|
||||||
|
|
||||||
|
int usb_drv_recv(int ep, void *ptr, int len)
|
||||||
|
{
|
||||||
|
(void)ep;
|
||||||
|
(void)ptr;
|
||||||
|
(void)len;
|
||||||
|
}
|
||||||
|
|
||||||
|
int usb_drv_send(int ep, void *ptr, int len)
|
||||||
|
{
|
||||||
|
(void)ep;
|
||||||
|
(void)ptr;
|
||||||
|
(void)len;
|
||||||
|
}
|
||||||
|
|
||||||
|
int usb_drv_send_nonblocking(int ep, void *ptr, int len)
|
||||||
|
{
|
||||||
|
(void)ep;
|
||||||
|
(void)ptr;
|
||||||
|
(void)len;
|
||||||
|
}
|
||||||
|
|
||||||
|
void usb_drv_stall(int ep, bool stall, bool in)
|
||||||
|
{
|
||||||
|
(void)ep;
|
||||||
|
(void)stall;
|
||||||
|
(void)in;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool usb_drv_stalled(int ep, bool in)
|
||||||
|
{
|
||||||
|
(void)ep;
|
||||||
|
(void)in;
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue