usb: create USBPortOps, move attach there.
commit0d86d2bebb625a222f70b76972139f6a272e3e0b
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 1 Dec 2010 10:08:44 +0000 (1 11:08 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Jan 2011 16:01:02 +0000 (11 17:01 +0100)
tree2f8763d0041b82f41ef9b14ab6e5529a3c4b6e71
parented5a83ddd8c1d8ec7b1015315530cf29949e7c48
usb: create USBPortOps, move attach there.

Create USBPortOps struct, move the attach function to that struct.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-bus.c
hw/usb-hub.c
hw/usb-musb.c
hw/usb-ohci.c
hw/usb-uhci.c
hw/usb.c
hw/usb.h