| Submitter | Gerd Hoffmann |
|---|---|
| Date | April 24, 2012, 3:51 p.m. |
| Message ID | <1335282691-26864-4-git-send-email-kraxel@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/154709/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index c6f21ac..4ff4d40 100644 --- a/hw/usb/hcd-ehci.c +++ b/hw/usb/hcd-ehci.c @@ -1101,6 +1101,10 @@ static void ehci_mem_writel(void *ptr, target_phys_addr_t addr, uint32_t val) val &= USBINTR_MASK; break; + case FRINDEX: + val &= 0x00003ff8; /* frindex is 14bits and always a multiple of 8 */ + break; + case CONFIGFLAG: val &= 0x1; if (val) {