Skip to contentSkip to conversation

hw/ppc/Kconfig: MAC_NEWWORLD should always select USB_OHCI_PCI

PATCH In review Thomas Huth 4 participants 4 messages May 30, 2023 – May 31, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/ppc/Kconfig: MAC_NEWWORLD should always select USB_OHCI_PCI

The PowerMacs have an OHCI controller soldered on the motherboard, so this should always be enabled for the "mac99" machine. This fixes the problem that QEMU aborts when the user tries to run the "mac99" machine with a build that has been compiled with the "--without-default-devices" configure switch.

---
 hw/ppc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
hw/ppc/Kconfig +1 -0
index a689d9b219..5dfbf47ef5 100644
@@ -115,6 +115,7 @@ config MAC_NEWWORLD
     select MAC_PMU
     select UNIN_PCI
     select FW_CFG_PPC
+    select USB_OHCI_PCI
 
 config E500
     bool
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Thomas Huth

The PowerMacs have an OHCI controller soldered on the motherboard, so this should always be enabled for the "mac99" machine. This fixes the problem that QEMU aborts when the user tries to run the "mac99" machine with a build that has been compiled with the "--without-default-devices" configure switch.

---
  hw/ppc/Kconfig | 1 +
  1 file changed, 1 insertion(+)
Reviewed-by on v1 1/1
#2 lore raw
In reply to Thomas Huth
Quoted 10 lines · Thomas Huth

The PowerMacs have an OHCI controller soldered on the motherboard, so this should always be enabled for the "mac99" machine. This fixes the problem that QEMU aborts when the user tries to run the "mac99" machine with a build that has been compiled with the "--without-default-devices" configure switch.

---
  hw/ppc/Kconfig | 1 +
  1 file changed, 1 insertion(+)

r~

Reviewed-by on v1 1/1
#3 lore raw
In reply to Thomas Huth
Quoted 16 lines · Thomas Huth

The PowerMacs have an OHCI controller soldered on the motherboard, so this should always be enabled for the "mac99" machine. This fixes the problem that QEMU aborts when the user tries to run the "mac99" machine with a build that has been compiled with the "--without-default-devices" configure switch.

---
  hw/ppc/Kconfig | 1 +
  1 file changed, 1 insertion(+)
hw/ppc/Kconfig +0 -0
index a689d9b219..5dfbf47ef5 100644

hw/ppc/Kconfig config MAC_NEWWORLD · line 121

Quoted 7 lines
hw/ppc/Kconfig +1 -0
@@ -115,6 +115,7 @@ config MAC_NEWWORLD
      select MAC_PMU
      select UNIN_PCI
      select FW_CFG_PPC
+    select USB_OHCI_PCI
 
  config E500
      bool

ATB,

Mark.