mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
usb-ehci: Connect Status bit is read only, don't allow changing it by the guest
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
053f9fcfb1
commit
c44fd61c0f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue