else temp |= 0x0002;		/* no power switching */ 
ehci_hub_descriptor (	struct ehci_hcd			*ehci,	struct usb_hub_descriptor	*desc) {	int		ports = HCS_N_PORTS (ehci->hcs_params);	u16		temp;	desc->bDescriptorType = 0x29;	desc->bPwrOn2PwrGood = 10;	/* ehci 1.0, 2.3.9 says 20ms max */	desc->bHubContrCurrent = 0;	desc->bNbrPorts = ports;	temp = 1 + (ports / 8);	desc->bDescLength = 7 + 2 * temp;	/* two bitmaps:  ports removable, and usb 1.0 legacy PortPwrCtrlMask */	memset (&desc->bitmap [0], 0, temp);	memset (&desc->bitmap [temp], 0xff, temp);	temp = 0x0008;			/* per-port overcurrent reporting */	if (HCS_PPC (ehci->hcs_params))		temp |= 0x0001;		/* per-port power control */#if 0// re-enable when we support USB_PORT_FEAT_INDICATOR below.	if (HCS_INDICATOR (ehci->hcs_params))		temp |= 0x0080;		/* per-port indicators (LEDs) */#endif	desc->wHubCharacteristics = (__force __u16)cpu_to_le16 (temp);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/56c1e26d75008d39f1067f453719857a81109d9f/ehci-hub.c/clean/drivers/usb/host/ehci-hub.c