usb: add config options for hub and hid devices for ppc

This commit is contained in:
eabdullin 2025-04-10 13:18:16 +03:00
parent c19c74ca43
commit 3f20440349
2 changed files with 30 additions and 0 deletions

View File

@ -43,6 +43,10 @@ actions:
- type: "patch"
name: "0001-Bring-back-missing-line-in-target-ppc-cpu-models.patch"
number: "Latest"
- add_files:
- type: "patch"
name: "0001-usb-add-config-options-for-hub-and-hid-devices-for-p.patch"
number: "Latest"
- modify_release:
- suffix: ".alma.1"
@ -54,3 +58,4 @@ actions:
line:
- "Enable building for ppc64le"
- "Don't remove slof.bin for ppc64le"
- "usb: add config options for hub and hid devices for ppc"

View File

@ -0,0 +1,25 @@
From 142dc9a4a974867563c751663bbeec5e9b675522 Mon Sep 17 00:00:00 2001
From: eabdullin <eabdullin@almalinux.org>
Date: Thu, 10 Apr 2025 13:16:31 +0300
Subject: [PATCH] usb: add config options for hub and hid devices for ppc
---
configs/devices/ppc64-softmmu/ppc64-rh-devices.mak | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/devices/ppc64-softmmu/ppc64-rh-devices.mak b/configs/devices/ppc64-softmmu/ppc64-rh-devices.mak
index dbb7d3082..4b801b126 100644
--- a/configs/devices/ppc64-softmmu/ppc64-rh-devices.mak
+++ b/configs/devices/ppc64-softmmu/ppc64-rh-devices.mak
@@ -20,6 +20,8 @@ CONFIG_USB_STORAGE_CLASSIC=y
CONFIG_USB_XHCI=y
CONFIG_USB_XHCI_NEC=y
CONFIG_USB_XHCI_PCI=y
+CONFIG_USB_HUB=y
+CONFIG_USB_HID=y
CONFIG_VFIO=y
CONFIG_VFIO_PCI=y
CONFIG_VGA=y
--
2.39.5 (Apple Git-154)