USB: address-0 handling during device initialization
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 30 Jul 2007 21:08:43 +0000 (17:08 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:01 +0000 (14:55 -0700)
commit4326ed0be93574dac5b5e475713015159108bd88
tree9d8ab9c40dc5909267f1c2c68a5e13c81be8e8e0
parent5e60a16139c2a48b9876b0ff910671eee5fb32ec
USB: address-0 handling during device initialization

This patch (as947) changes the device initialization and enumeration
code in hub.c; now udev->devnum will be set to 0 while the device is
being accessed at address 0.  Until now this wasn't needed because the
address value was passed as part of urb->pipe; without that field the
device address must be stored elsewhere.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c
drivers/usb/core/urb.c