aboutsummaryrefslogtreecommitdiff
path: root/hw/m68k
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-01-17 08:37:16 +0100
committerGerd Hoffmann <kraxel@redhat.com>2020-02-12 17:20:41 +0100
commit8ddcc43592f215a7523774704df6c60d12d9f647 (patch)
treeb9c2f7e13af0fad8702eda012691a2b3a121c5da /hw/m68k
parent76d0a9362c6a6a7d88aa18c84c4186c9107ecaef (diff)
downloadqemu-8ddcc43592f215a7523774704df6c60d12d9f647.zip
qemu-8ddcc43592f215a7523774704df6c60d12d9f647.tar.gz
qemu-8ddcc43592f215a7523774704df6c60d12d9f647.tar.bz2
uas: fix super speed bMaxPacketSize0
For usb2 bMaxPacketSize0 is "n", for usb3 it is "1 << n", so it must be 9 not 64 ... rom "Universal Serial Bus 3.1 Specification": If the device is operating at Gen X speed, the bMaxPacketSize0 field shall be set to 09H indicating a 512-byte maximum packet. An Enhanced SuperSpeed device shall not support any other maximum packet sizes for the default control pipe (endpoint 0) control endpoint. We now announce a 512-byte maximum packet. Fixes: 89a453d4a5c ("uas-uas: usb3 streams") Reported-by: Benjamin David Lunt <fys@fysnet.net> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20200117073716.31335-1-kraxel@redhat.com
Diffstat (limited to 'hw/m68k')
0 files changed, 0 insertions, 0 deletions