Blame 0008-usb-ehci-Connect-Status-bit-is-read-only-don-t-allow.patch
|
Hans de Goede |
3f1f29 |
From f7e7c102ed1c3ff7790c84f8bb9d379ad6405d6b Mon Sep 17 00:00:00 2001
|
|
Hans de Goede |
3f1f29 |
From: Hans de Goede <hdegoede@redhat.com>
|
|
Hans de Goede |
3f1f29 |
Date: Tue, 21 Jun 2011 12:12:35 +0200
|
|
Hans de Goede |
3f1f29 |
Subject: [PATCH 08/35] usb-ehci: Connect Status bit is read only, don't allow
|
|
Hans de Goede |
3f1f29 |
changing it by the guest
|
|
Hans de Goede |
3f1f29 |
|
|
Hans de Goede |
3f1f29 |
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
Hans de Goede |
3f1f29 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
Hans de Goede |
3f1f29 |
---
|
|
Hans de Goede |
3f1f29 |
hw/usb-ehci.c | 4 ++--
|
|
Hans de Goede |
3f1f29 |
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
Hans de Goede |
3f1f29 |
|
|
Hans de Goede |
3f1f29 |
diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c
|
|
Hans de Goede |
3f1f29 |
index 87e1de3..ce1a432 100644
|
|
Hans de Goede |
3f1f29 |
--- a/hw/usb-ehci.c
|
|
Hans de Goede |
3f1f29 |
+++ b/hw/usb-ehci.c
|
|
Hans de Goede |
3f1f29 |
@@ -103,10 +103,10 @@
|
|
Hans de Goede |
3f1f29 |
#define PORTSC_BEGIN PORTSC
|
|
Hans de Goede |
3f1f29 |
#define PORTSC_END (PORTSC + 4 * NB_PORTS)
|
|
Hans de Goede |
3f1f29 |
/*
|
|
Hans de Goede |
3f1f29 |
- * Bits that are reserverd or are read-only are masked out of values
|
|
Hans de Goede |
3f1f29 |
+ * Bits that are reserved or are read-only are masked out of values
|
|
Hans de Goede |
3f1f29 |
* written to us by software
|
|
Hans de Goede |
3f1f29 |
*/
|
|
Hans de Goede |
3f1f29 |
-#define PORTSC_RO_MASK 0x007021c5
|
|
Hans de Goede |
3f1f29 |
+#define PORTSC_RO_MASK 0x007021c4
|
|
Hans de Goede |
3f1f29 |
#define PORTSC_RWC_MASK 0x0000002a
|
|
Hans de Goede |
3f1f29 |
#define PORTSC_WKOC_E (1 << 22) // Wake on Over Current Enable
|
|
Hans de Goede |
3f1f29 |
#define PORTSC_WKDS_E (1 << 21) // Wake on Disconnect Enable
|
|
Hans de Goede |
3f1f29 |
--
|
|
Hans de Goede |
3f1f29 |
1.7.5.1
|
|
Hans de Goede |
3f1f29 |
|