From: Kuo-Jung Su <dant...@faraday-tech.com> First of all, Andreas's QOM realizefn patch for hcd-ehci-sysbus must be applied prior to this patch set.
Here is the link to Andreas's QOM realizefn patch: http://patchwork.ozlabs.org/patch/215919/ Now return to the topic, this patch set has 2 parts: 1. Replace PORTSC macros with variables which could then be configured in ehci_xxxx_class_init(...) 2. Add Faraday FUSBH200 support, which is slightly different from EHCI spec. (Or maybe simply a bad/wrong implementation...) Kuo-Jung Su (2): usb-ehci: replace PORTSC macros with variables usb-ehci: add Faraday FUSBH200 support hw/usb/hcd-ehci-sysbus.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++ hw/usb/hcd-ehci.c | 21 ++++++++------ hw/usb/hcd-ehci.h | 17 +++++++---- 3 files changed, 96 insertions(+), 14 deletions(-) -- 1.7.9.5