diff options
author | Kuo-Jung Su <dantesu@faraday-tech.com> | 2013-06-06 15:41:13 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-06-24 08:33:11 +0200 |
commit | 4e3d8b4b37b67ff6896ec77975eecbaabf7968a4 (patch) | |
tree | 9e4bf94edd314fd2012d152add25bd5722d0d393 /hw/usb/hcd-ehci.h | |
parent | cc8d6a8481e64ec53d06245f249235bcaaa73b27 (diff) | |
download | qemu-4e3d8b4b37b67ff6896ec77975eecbaabf7968a4.zip qemu-4e3d8b4b37b67ff6896ec77975eecbaabf7968a4.tar.gz qemu-4e3d8b4b37b67ff6896ec77975eecbaabf7968a4.tar.bz2 |
usb/hcd-ehci: Add Faraday FUSBH200 support
Add Faraday FUSBH200 support, which is slightly different from EHCI spec.
(Or maybe simply a bad/wrong implementation...)
Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/hcd-ehci.h')
-rw-r--r-- | hw/usb/hcd-ehci.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hw/usb/hcd-ehci.h b/hw/usb/hcd-ehci.h index 1fb9483..15a28e8 100644 --- a/hw/usb/hcd-ehci.h +++ b/hw/usb/hcd-ehci.h @@ -338,6 +338,7 @@ typedef struct EHCIPCIState { #define TYPE_SYS_BUS_EHCI "sysbus-ehci-usb" #define TYPE_EXYNOS4210_EHCI "exynos4210-ehci-usb" #define TYPE_TEGRA2_EHCI "tegra2-ehci-usb" +#define TYPE_FUSBH200_EHCI "fusbh200-ehci-usb" #define SYS_BUS_EHCI(obj) \ OBJECT_CHECK(EHCISysBusState, (obj), TYPE_SYS_BUS_EHCI) @@ -365,4 +366,15 @@ typedef struct SysBusEHCIClass { uint16_t portnr; } SysBusEHCIClass; +#define FUSBH200_EHCI(obj) \ + OBJECT_CHECK(FUSBH200EHCIState, (obj), TYPE_FUSBH200_EHCI) + +typedef struct FUSBH200EHCIState { + /*< private >*/ + EHCISysBusState parent_obj; + /*< public >*/ + + MemoryRegion mem_vendor; +} FUSBH200EHCIState; + #endif |