Skip to content

Fix ohci_die() and move PCI code to separate file

Thomas Huth qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 6 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/usb/hcd-ohci: Do not use PCI functions with sysbus devices in ohci_die()hw/usb/hcd-ohci.c+27 -120 replies
2/2hw/usb/hcd-ohci: Move PCI-related code into a separate filehw/sh4/Kconfig hw/usb/Kconfig hw/usb/Makefile.objs +3 more+284 -2080 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPhilippe Mathieu-Daudé
SeriesR-b T-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 for-4.1 0/2] Fix ohci_die() and move PCI code to separate file

First patch fixes a problem with ohci_die(), second patch moves PCI code into a separate file, so that the sysbus OHCI device can also be used without the dependency on the PCI code.

v2: Split the patch into two patches, one for the ohci_die() fix and one
for the PCI code movement.

Thomas Huth (2):
hw/usb/hcd-ohci: Do not use PCI functions with sysbus devices in

    ohci_die()

hw/usb/hcd-ohci: Move PCI-related code into a separate file

 hw/sh4/Kconfig        |   2 +-
 hw/usb/Kconfig        |   6 +-
 hw/usb/Makefile.objs  |   1 +
 hw/usb/hcd-ohci-pci.c | 163 +++++++++++++++++++++++++++++++
 hw/usb/hcd-ohci.c     | 219 ++++--------------------------------------
 hw/usb/hcd-ohci.h     | 104 ++++++++++++++++++++
 6 files changed, 293 insertions(+), 202 deletions(-)
 create mode 100644 hw/usb/hcd-ohci-pci.c
 create mode 100644 hw/usb/hcd-ohci.h
Signature · 1 line
2.21.0