[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 05/11] usb-ehci: Connect Status bit is read only, do
From: |
Hans de Goede |
Subject: |
[Qemu-devel] [PATCH 05/11] usb-ehci: Connect Status bit is read only, don't allow changing it by the guest |
Date: |
Fri, 24 Jun 2011 21:32:52 +0200 |
Signed-off-by: Hans de Goede <address@hidden>
---
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 158e147..0b1cdaf 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.5.1
- [Qemu-devel] RFC/PULL: usb: add support for companion controllers, Hans de Goede, 2011/06/24
- [Qemu-devel] [PATCH 01/11] usb: Add a register_companion USB bus op., Hans de Goede, 2011/06/24
- [Qemu-devel] [PATCH 02/11] usb: Make port wakeup and complete ops take a USBPort instead of a Device, Hans de Goede, 2011/06/24
- [Qemu-devel] [PATCH 03/11] usb: Replace device_destroy bus op with a child_detach port op, Hans de Goede, 2011/06/24
- [Qemu-devel] [PATCH 05/11] usb-ehci: Connect Status bit is read only, don't allow changing it by the guest,
Hans de Goede <=
- [Qemu-devel] [PATCH 04/11] usb-ehci: drop unused num-ports state member, Hans de Goede, 2011/06/24
- [Qemu-devel] [PATCH 06/11] usb-ehci: cleanup port reset handling, Hans de Goede, 2011/06/24
- [Qemu-devel] [PATCH 07/11] usb: assert on calling usb_attach(port, NULL) on a port without a dev, Hans de Goede, 2011/06/24
- [Qemu-devel] [PATCH 08/11] usb-ehci: Fix handling of PED and PEDC port status bits, Hans de Goede, 2011/06/24
- [Qemu-devel] [PATCH 09/11] usb-ehci: Add support for registering companion controllers, Hans de Goede, 2011/06/24
- [Qemu-devel] [PATCH 10/11] usb-uhci: Add support for being a companion controller, Hans de Goede, 2011/06/24