~ubuntu-branches/ubuntu/karmic/linux-mvl-dove/karmic-proposed

« back to all changes in this revision

Viewing changes to drivers/usb/core/hub.c

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bader
  • Date: 2010-03-10 22:24:12 UTC
  • mto: (15.1.2 karmic-security)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20100310222412-k86m3r53jw0je7x1
Tags: upstream-2.6.31
ImportĀ upstreamĀ versionĀ 2.6.31

Show diffs side-by-side

added added

removed removed

Lines of Context:
613
613
 * time later khubd will disconnect() any existing usb_device on the port
614
614
 * and will re-enumerate if there actually is a device attached.
615
615
 */
616
 
void hub_port_logical_disconnect(struct usb_hub *hub, int port1)
 
616
static void hub_port_logical_disconnect(struct usb_hub *hub, int port1)
617
617
{
618
618
        dev_dbg(hub->intfdev, "logical disconnect on port %d\n", port1);
619
619
        hub_port_disable(hub, port1, 1);
630
630
        set_bit(port1, hub->change_bits);
631
631
        kick_khubd(hub);
632
632
}
633
 
EXPORT_SYMBOL(hub_port_logical_disconnect);
634
633
 
635
634
enum hub_activation_type {
636
635
        HUB_INIT, HUB_INIT2, HUB_INIT3,