Home
last modified time | relevance | path

Searched hist:"1 c83f366f909198a7bb50db2b40b3486ac977da2" (Results 1 – 4 of 4) sorted by relevance

/qemu/hw/usb/
H A Dhcd-ehci-sysbus.c1c83f366f909198a7bb50db2b40b3486ac977da2 Tue Feb 13 04:38:59 UTC 2024 Philippe Mathieu-Daudé <philmd@linaro.org> hw/usb/ehci: Rename NB_PORTS -> EHCI_PORTS

Rename NB_PORTS as EHCI_PORTS to avoid definition clash
with UHCI equivalent:

hw/usb/hcd-ehci.h:40:9: error: 'NB_PORTS' macro redefined [-Werror,-Wmacro-redefined]
#define NB_PORTS 6 /* Max. Number of downstream ports */
^
hw/usb/hcd-uhci.h:38:9: note: previous definition is here
#define NB_PORTS 2
^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
H A Dhcd-ehci.h1c83f366f909198a7bb50db2b40b3486ac977da2 Tue Feb 13 04:38:59 UTC 2024 Philippe Mathieu-Daudé <philmd@linaro.org> hw/usb/ehci: Rename NB_PORTS -> EHCI_PORTS

Rename NB_PORTS as EHCI_PORTS to avoid definition clash
with UHCI equivalent:

hw/usb/hcd-ehci.h:40:9: error: 'NB_PORTS' macro redefined [-Werror,-Wmacro-redefined]
#define NB_PORTS 6 /* Max. Number of downstream ports */
^
hw/usb/hcd-uhci.h:38:9: note: previous definition is here
#define NB_PORTS 2
^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
H A Dhcd-ehci-pci.c1c83f366f909198a7bb50db2b40b3486ac977da2 Tue Feb 13 04:38:59 UTC 2024 Philippe Mathieu-Daudé <philmd@linaro.org> hw/usb/ehci: Rename NB_PORTS -> EHCI_PORTS

Rename NB_PORTS as EHCI_PORTS to avoid definition clash
with UHCI equivalent:

hw/usb/hcd-ehci.h:40:9: error: 'NB_PORTS' macro redefined [-Werror,-Wmacro-redefined]
#define NB_PORTS 6 /* Max. Number of downstream ports */
^
hw/usb/hcd-uhci.h:38:9: note: previous definition is here
#define NB_PORTS 2
^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
H A Dhcd-ehci.c1c83f366f909198a7bb50db2b40b3486ac977da2 Tue Feb 13 04:38:59 UTC 2024 Philippe Mathieu-Daudé <philmd@linaro.org> hw/usb/ehci: Rename NB_PORTS -> EHCI_PORTS

Rename NB_PORTS as EHCI_PORTS to avoid definition clash
with UHCI equivalent:

hw/usb/hcd-ehci.h:40:9: error: 'NB_PORTS' macro redefined [-Werror,-Wmacro-redefined]
#define NB_PORTS 6 /* Max. Number of downstream ports */
^
hw/usb/hcd-uhci.h:38:9: note: previous definition is here
#define NB_PORTS 2
^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>