commit | 618c169b577db64ac6589ad48825d2e11760d1a6 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Wed Dec 01 11:27:05 2010 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Tue Jan 11 17:01:02 2011 +0100 |
tree | b9b60ddfcf2d07041117ec425118deb06437cf01 | |
parent | 0d86d2bebb625a222f70b76972139f6a272e3e0b [diff] |
usb: rework attach/detach workflow Add separate detach callback to USBPortOps, split uhci/ohci/musb/usbhub attach functions into two. Move common code to the usb_attach() function, only the hardware-specific bits remain in the attach/detach callbacks. Keep track of the port it is attached to for each usb device. [ v3: fix tyops in usb-musb.c ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>