History | View | Annotate | Download (67 kB)
fix some common typos
These were identified using: http://github.com/lyda/misspell-checkand run like this to create a bourne shell script using GNU sed's-i option:
git ls-files|grep -vF .bin | misspellings -f - |grep -v '^ERROR:' |perl \-pe 's/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/sed -i '\''${2}s!$3!$4!'\'' $1/'...
usb-ehci: remove hack
To answer the question in the comment removed by this patch: I thinkthis was needed because several places in the ehci emulation did notcheck the T bit of link entries correctly and thus might have followedinvalid references. See commit 2a5ff735dc1074171a0cbb1dc228d6d6e907f571...
usb-ehci: add missing usb_packet_init() call
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb-ehci: Ensure frindex writes leave a valid frindex value
frindex is a 14 bits counter, so bits 31-14 should always be 0, andafter the commit titled "usb-ehci: frindex always is a 14 bits counter" we rely on frindex always being a multiple of 8. I've not seen this in...
usb-ehci: drop assert()
Not sure what the purpose of the assert() was, in any case it is bogous.We can arrive there if transfer descriptors passed to us from the guestfailed to pass sanity checks, i.e. it is guest-triggerable. We dealwith that case by resetting the host controller. Everything is ok, no...
usb-ehci: fix ehci_child_detach
Looks like a cut+paste bug from ehci_detach. When the device itself isdetached from a ehci port (ehci_detach op) we have to clear thedevice pointer for the companion port too. When a device gets removedfrom a downstream port of a usb hub (ehci_child_detach op) the ehci port...
usb-ehci: frindex always is a 14 bits counter
frindex always is a 14 bits counter, and not a 13 bits one as we wereemulating. There are some subtle hints to this in the spec, first of all"Table 2-12. FRINDEX - Frame Index Register" says:"Bit 13:0 Frame Index. The value in this register increments at the end of...
usb-ehci: Drop unused sofv value
The sofv value only ever gets a value assigned and is never used (read)anywhere, so we can just drop it.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb: the big rename
Reorganize usb source files. Create a new hw/usb/ directory and moveall usb source code to that place. Also make filenames a bit moredescriptive. Host adapters are prefixed with "hch-" now, usb deviceemulations are prefixed with "dev-". Fixup paths Makefile and include...
usb-ehci: drop unused isoch_pause variable