]> git.baikalelectronics.ru Git - kernel.git/commit
wusb: hub code recognizes wusb ports
authorInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Sat, 26 Aug 2006 02:35:29 +0000 (19:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:55 +0000 (11:58 -0700)
commit73b1d137eecc323d5f2d14a1a5f7529a0cacdf99
treef4b3dd96715630fbaa73b7791ba08f5c170d32a1
parent2dfeac6347963a9ba9a19c3eb966236c51d58c74
wusb: hub code recognizes wusb ports

This patch enables the USB stack to recognize WUSB devices (from a
WUSB HCD) and assigns them the proper speed setting
(USB_SPEED_VARIABLE).

1. Introduce usb_hcd->wireless to mark a host controller instance as
   being wireless, and thus having wireless 'fake' ports.

   [discarded previous model of using a reserved bit in the port_stat
   struct to do this; thanks to Alan Stern for indicating the
   proper way to do it].

2. Introduce hub.c:hub_is_wusb() that tests if a hub is a WUSB root
   hub (WUSB doesn't have non-root hubs).

New code being pushed to linuxuwb.org requires this patch to connect WUSB
devices.

Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd.h
drivers/usb/core/hub.c