summaryrefslogtreecommitdiff
path: root/hw/usb/desc.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-08-28 13:38:01 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-09-11 07:43:01 +0200
commit0846e6359c407e372f446723b8b7b09ac20d0f03 (patch)
treef472d98bc2f8a1a254a8636a7a648f534e79af24 /hw/usb/desc.c
parent106b214c4fbba80699b32b63020432cbd1cf95db (diff)
downloadqemu-0846e6359c407e372f446723b8b7b09ac20d0f03.tar.gz
xhci: update port handling
This patch changes the way xhci ports are linked to USBPorts. The fixed 1:1 relationship between xhci ports and USBPorts is gone. Now each USBPort represents a physical plug which has usually two xhci ports assigned: one usb2 and ond usb3 port. usb devices show up at one or the other, depending on whenever they support superspeed or not. This patch also makes the number of usb2 and usb3 ports runtime configurable by adding 'p2' and 'p3' properties. It is allowed to have different numbers of usb2 and usb3 ports. Specifying p2=4,p3=2 will give you an xhci adapter which supports all speeds on physical ports 1+2 and usb2 only on ports 3+4.
Diffstat (limited to 'hw/usb/desc.c')
0 files changed, 0 insertions, 0 deletions