hw/usb: extract sysbus-ohci to a separate file
commit15f07fb821ce0d6bc2a07d7c0a1cd073cf787e31
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 23 Feb 2024 12:44:05 +0000 (23 13:44 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 27 Feb 2024 08:37:25 +0000 (27 09:37 +0100)
tree3d162f5ba1d150bf6f62c09c7e58a72cf750e284
parentccced963c508cf479e1d39bb7efc63be50f5a63d
hw/usb: extract sysbus-ohci to a separate file

Split the sysbus version to a separate file so that it is not
included in PCI-only machines, and adjust Kconfig for machines
that do need sysbus-ohci.  The copyrights are based on the
time and employer of balrog and Paul Brook's contributions.

While adjusting the SM501 dependency, move it to the right place
instead of keeping it in the R4D machine.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240223124406.234509-10-pbonzini@redhat.com>
[PMD: Rename some functions using 'ohci_sysbus_' prefix]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/arm/Kconfig
hw/display/Kconfig
hw/ppc/Kconfig
hw/sh4/Kconfig
hw/usb/Kconfig
hw/usb/hcd-ohci-sysbus.c [new file with mode: 0644]
hw/usb/hcd-ohci.c
hw/usb/meson.build