[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Qemu-devel] [PATCH, RFC] USB OHCI isochronous transfers support
From: |
Arnon Gilboa |
Subject: |
RE: [Qemu-devel] [PATCH, RFC] USB OHCI isochronous transfers support |
Date: |
Mon, 22 Oct 2007 08:04:45 -0700 |
Thanks, Paul.
The attached updated patch seems to fix this bug.
Comments?
-----Original Message-----
From: Paul Brook [mailto:address@hidden
Sent: Monday, October 22, 2007 1:53 PM
To: address@hidden
Cc: Arnon Gilboa
Subject: Re: [Qemu-devel] [PATCH, RFC] USB OHCI isochronous transfers
support
On Monday 22 October 2007, Arnon Gilboa wrote:
> Hi,
>
> The attached patch adds isochronous transfers support to the OHCI
> emulation, similarly to the UHCI patch pushed two weeks ago.
> + uint16_t offset[8];
> +};
> +static inline int ohci_read_iso_td(uint32_t addr, struct ohci_iso_td
> +*td) {
> + return get_dwords(addr, (uint32_t *)td, sizeof(*td) >> 2); }
This is wrong. It will break on big-endian hosts.
set_dwords only DTRT if all the structure fields are 32-bit.
Paul
usb-ohci-iso.patch
Description: usb-ohci-iso.patch
- [Qemu-devel] [PATCH, RFC] USB OHCI isochronous transfers support, Arnon Gilboa, 2007/10/22
- Re: [Qemu-devel] [PATCH, RFC] USB OHCI isochronous transfers support, Dor Laor, 2007/10/22
- Re: [Qemu-devel] [PATCH, RFC] USB OHCI isochronous transfers support, Paul Brook, 2007/10/22
- RE: [Qemu-devel] [PATCH, RFC] USB OHCI isochronous transfers support,
Arnon Gilboa <=
- RE: [Qemu-devel] [PATCH, RFC] USB OHCI isochronous transfers support, Itamar Heim, 2007/10/22