Re: [Qemu-devel] [PATCH v2 02/20] arm: add Faraday FUSBH200 EHCI controller

2013-01-27 Thread Kuo-Jung Su
Thanks, I'm working on it, and the new patch is susposed to be sent out later. 2013/1/28 Andreas Färber > Am 25.01.2013 10:02, schrieb Gerd Hoffmann: > >>> +static const MemoryRegionOps ehci_mmio_faraday_ops = { > >>> +.read = ehci_faraday_read, > >>> +.write = ehci_faraday_write, > >>>

Re: [Qemu-devel] [PATCH v2 02/20] arm: add Faraday FUSBH200 EHCI controller

2013-01-27 Thread Andreas Färber
Am 25.01.2013 10:02, schrieb Gerd Hoffmann: >>> +static const MemoryRegionOps ehci_mmio_faraday_ops = { >>> +.read = ehci_faraday_read, >>> +.write = ehci_faraday_write, >>> +.valid.min_access_size = 4, >>> +.valid.max_access_size = 4, >>> +.endianness = DEVICE_LITTLE_ENDIAN, >>

[Qemu-devel] [PATCH v2 02/20] arm: add Faraday FUSBH200 EHCI controller

2013-01-25 Thread Kuo-Jung Su
From: Kuo-Jung Su Faraday FUSBH200 is a one-port host controller for USB 2.0, which is fully compliant with the USB 2.0 specification and the Enhanced Host Controller Interface (EHCI) specification. This host controller supports the HS/FS/LS transactions, Isochronous/Interrupt/Control/Bulk transf

Re: [Qemu-devel] [PATCH v2 02/20] arm: add Faraday FUSBH200 EHCI controller

2013-01-25 Thread Gerd Hoffmann
Hi, >> +static uint64_t >> +ehci_faraday_read(void *ptr, hwaddr addr, unsigned size) >> +{ >> +hwaddr off = 0x34 + addr; >> + >> +switch (off) { >> +case 0x34: /* fusbh200: EOF/Async. Sleep Timer Register */ >> +return 0x0041; >> +case 0x40: /* fusbh200: Bus Monitor

Re: [Qemu-devel] [PATCH v2 02/20] arm: add Faraday FUSBH200 EHCI controller

2013-01-25 Thread Andreas Färber
Am 25.01.2013 09:19, schrieb Kuo-Jung Su: > From: Kuo-Jung Su > > Faraday FUSBH200 is a one-port host controller for USB 2.0, > which is fully compliant with the USB 2.0 specification and > the Enhanced Host Controller Interface (EHCI) specification. > This host controller supports the HS/FS/LS t