[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH-for-9.1 02/18] hw/usb/hcd-xhci: Enumerate xhci_flags setting valu
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH-for-9.1 02/18] hw/usb/hcd-xhci: Enumerate xhci_flags setting values |
Date: |
Tue, 5 Mar 2024 14:42:04 +0100 |
xhci_flags are used as bits for QOM properties,
expected to be somehow stable (external interface).
Explicit their values so removing any enum doesn't
modify the other ones.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/usb/hcd-xhci.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/usb/hcd-xhci.h b/hw/usb/hcd-xhci.h
index 98f598382a..37f0d2e43b 100644
--- a/hw/usb/hcd-xhci.h
+++ b/hw/usb/hcd-xhci.h
@@ -37,8 +37,8 @@ typedef struct XHCIEPContext XHCIEPContext;
enum xhci_flags {
XHCI_FLAG_SS_FIRST = 1,
- XHCI_FLAG_FORCE_PCIE_ENDCAP,
- XHCI_FLAG_ENABLE_STREAMS,
+ XHCI_FLAG_FORCE_PCIE_ENDCAP = 2,
+ XHCI_FLAG_ENABLE_STREAMS = 3,
};
typedef enum TRBType {
--
2.41.0
- [PATCH-for-9.1 00/18] hw/i386: Remove deprecated pc-i440fx-2.0 -> 2.3 machines, Philippe Mathieu-Daudé, 2024/03/05
- [PATCH-for-9.1 01/18] hw/i386/pc: Remove deprecated pc-i440fx-2.0 machine, Philippe Mathieu-Daudé, 2024/03/05
- [PATCH-for-9.1 02/18] hw/usb/hcd-xhci: Enumerate xhci_flags setting values,
Philippe Mathieu-Daudé <=
- [PATCH-for-9.1 03/18] hw/usb/hcd-xhci: Remove XHCI_FLAG_FORCE_PCIE_ENDCAP flag, Philippe Mathieu-Daudé, 2024/03/05
- [PATCH-for-9.1 04/18] hw/usb/hcd-xhci: Remove XHCI_FLAG_SS_FIRST flag, Philippe Mathieu-Daudé, 2024/03/05
- [PATCH-for-9.1 05/18] hw/i386/acpi: Remove PCMachineClass::legacy_acpi_table_size, Philippe Mathieu-Daudé, 2024/03/05
- [PATCH-for-9.1 06/18] hw/i386/pc: Remove deprecated pc-i440fx-2.1 machine, Philippe Mathieu-Daudé, 2024/03/05