aboutsummaryrefslogtreecommitdiff
path: root/ppc.ld
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2011-05-10 11:43:57 +0200
committerGerd Hoffmann <kraxel@redhat.com>2011-05-26 11:55:02 +0200
commit5557d820817028603d8a1446b0ddb62f7d267510 (patch)
tree7713d8bf42a3e4fbe848237dee9e69e033e701fa /ppc.ld
parent50b7963e72da6c31c2bebd435aeefd2966cd94ee (diff)
downloadqemu-5557d820817028603d8a1446b0ddb62f7d267510.zip
qemu-5557d820817028603d8a1446b0ddb62f7d267510.tar.gz
qemu-5557d820817028603d8a1446b0ddb62f7d267510.tar.bz2
usb-linux: fix device path aka physical port handling
The device path isn't just a number. It specifies the physical port the device is connected to and in case the device is connected via usb hub you'll have two numbers there, like this: "5.1". The first specifies the root port where the hub is plugged into, the second specifies the port number of the hub where the device is plugged in. With multiple hubs chained the string can become longer. This patch renames devpath to port and makes it a string. It also adapts the sysfs parsing code accordingly. The parser code is also more strict now and skips the root hubs (which can't be assigned anyway). The "info usbhost" monitor command now prints bus number, (os-assigned) device address and physical port for each device. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ppc.ld')
0 files changed, 0 insertions, 0 deletions