aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-hid.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-09-14 18:48:59 +0100
committerGerd Hoffmann <kraxel@redhat.com>2011-10-13 12:58:51 +0200
commit905fb0342ca8fc480dd3e08f8a7aaabc339da796 (patch)
tree489d20a4a14d5436742c31a9c96dcbb524356e51 /hw/usb-hid.c
parent8d11b78c9a243ae2d9cf27a15216f8554b6fc63d (diff)
hw/usb-ohci: Honour endpoint maximum packet size
Honour the maximum packet size for endpoints; this applies when sending non-isochronous data and means we transfer only as much as the endpoint allows, leaving the transfer descriptor on the list for another go next time around. This allows usb-net to work when connected to an OHCI controller model. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb-hid.c')
0 files changed, 0 insertions, 0 deletions