mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Comment on mps sizes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26947 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1d5cc0a505
commit
06fa365fef
1 changed files with 8 additions and 0 deletions
|
|
@ -156,6 +156,14 @@ static void dma_desc_init(int ep, int dir)
|
|||
static void reset_endpoints(int init)
|
||||
{
|
||||
int i;
|
||||
/*
|
||||
* MPS sizes depending on speed:
|
||||
* LS: 8 (control), no bulk available
|
||||
* FS: 64 (control), 64 (bulk)
|
||||
* HS: 64 (control), 512 (bulk)
|
||||
*
|
||||
* We don't need to handle LS since there is no low-speed only host AFAIK.
|
||||
*/
|
||||
int mps = i == 0 ? 64 : (usb_drv_port_speed() ? 512 : 64);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue