usb/ehci: seperate out PCIisms
commit5010d4dc618b6b8e7c21129c487c06f6493f71fc
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Mon, 29 Oct 2012 01:34:36 +0000 (29 11:34 +1000)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 1 Nov 2012 12:10:10 +0000 (1 13:10 +0100)
tree559d30e9a21ae482a27eefea9a54b455a6de082b
parent7ae6ce0258096d3ad974d274aafcf130d5a31bb7
usb/ehci: seperate out PCIisms

Seperate the PCI stuff from the EHCI components. Extracted the PCIDevice
out into a new wrapper struct to make EHCIState non-PCI-specific. Seperated
tho non PCI init component out into a seperate "common" init function.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ehci.c