From 52ca1b713a87be22f45eb17dd20bf8a756034154 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 21 Jul 2011 16:43:53 -0300 Subject: [RHEL6 qemu-kvm PATCH 15/65] usb-ehci: Connect Status bit is read only, don't allow changing it by the guest RH-Author: Gerd Hoffmann Message-id: <1311266648-1179-16-git-send-email-kraxel@redhat.com> Patchwork-id: 30133 O-Subject: [RHEL-6.2 kvm PATCH 15/30] usb-ehci: Connect Status bit is read only, don't allow changing it by the guest Bugzilla: 723858 723863 RH-Acked-by: Hans de Goede RH-Acked-by: Jes Sorensen RH-Acked-by: Alex Williamson From: Hans de Goede Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann (cherry picked from commit c44fd61c0f38aa7927fd41bd7e59cb3e60fd4d75) --- hw/usb-ehci.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Signed-off-by: Eduardo Habkost --- hw/usb-ehci.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c index 97ab90c..779dc6a 100644 --- a/hw/usb-ehci.c +++ b/hw/usb-ehci.c @@ -103,10 +103,10 @@ #define PORTSC_BEGIN PORTSC #define PORTSC_END (PORTSC + 4 * NB_PORTS) /* - * Bits that are reserverd or are read-only are masked out of values + * Bits that are reserved or are read-only are masked out of values * written to us by software */ -#define PORTSC_RO_MASK 0x007021c5 +#define PORTSC_RO_MASK 0x007021c4 #define PORTSC_RWC_MASK 0x0000002a #define PORTSC_WKOC_E (1 << 22) // Wake on Over Current Enable #define PORTSC_WKDS_E (1 << 21) // Wake on Disconnect Enable -- 1.7.3.2