Removed hint for USB2OTG
commit6694d98c05caba53c923ac388a945b6e45317800
authorDizzyOfCRN <DizzyOfCRN@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 7 Sep 2014 13:25:04 +0000 (7 13:25 +0000)
committerDizzyOfCRN <DizzyOfCRN@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 7 Sep 2014 13:25:04 +0000 (7 13:25 +0000)
tree910b1cbd58447ed4fdde7275941050e0830164e2
parentefea6d8141d4fa1b94fc1497865cb0542273bce9
Removed hint for USB2OTG
Moved UsbStdDevDesc structure out from stack base
Increased the size of UsbStdDevDesc buffer to the maximum packet transfer size of 64 bytes for control transfers of fullspeed and highspeed devices
 - Some devices may babble while receiving UsbStdDevDesc from default address (According to Microsoft) We had 8 byte buffer for it and in stack (dummybuffer)
 - Windows always uses 64 bytes for fullspeed and highspeed devices while at the default address, for lowspeed devices it uses 8 byte buffer
MaxPktSize0 is read from the 8 bytes received when the device is in default USB address (Windows trusts this to be correct)
 - Previously we read 8 bytes of UsbStdDevDesc to a dummybuffer when in default address then discarded what we read and read again 8 bytes from UsbStdDevDesc when new address was set

Tested to work with every USB device I have (Except pcDuino, it still fails)

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@49582 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/usb/poseidon/poseidon.library.c