The VT82C686 UHCI PCI function should not be exposed it the
VT82C686 south bridge is not present. Extract it out of hcd-uhci.c

Following this discussion:
https://lists.gnu.org/archive/html/qemu-devel/2021-03/msg02923.html

Philippe Mathieu-Daudé (3):
  hw/southbridge: Add missing Kconfig dependency VT82C686 on USB_UHCI
  hw/usb/hcd-uhci: Expose generic prototypes to local header
  hw/usb: Extract VT82C686 UHCI PCI function into new unit

 hw/usb/hcd-uhci.h          | 93 ++++++++++++++++++++++++++++++++++++++
 hw/usb/hcd-uhci.c          | 83 ++--------------------------------
 hw/usb/vt82c686-uhci-pci.c | 43 ++++++++++++++++++
 MAINTAINERS                |  1 +
 hw/isa/Kconfig             |  1 +
 hw/usb/meson.build         |  1 +
 6 files changed, 142 insertions(+), 80 deletions(-)
 create mode 100644 hw/usb/hcd-uhci.h
 create mode 100644 hw/usb/vt82c686-uhci-pci.c

-- 
2.26.2


Reply via email to