• Alan Stern's avatar
    [PATCH] USB: More UHCI root hub code improvements · c00a2df2
    Alan Stern authored
    This adds some minor improvements to the UHCI root hub code.  The only
    important change is that it handles the overcurrent indicator bits on VIA
    controllers properly; they are reported using the opposite sense from
    Intel controllers.
    
    
    
    	Report the OverCurrent status bits in the /proc debugging file
    	and spontaneously change the use of whitespace.
    
    	Remove unused variable in uhci_hub_status_data().
    
    	Report OverCurrent status for VIA controllers properly (the
    	meaning of the status bit is inverted with respect to Intel
    	controllers).
    
    	Save the port status I/O address in a variable rather than
    	recalculating it many times.
    
    	Merge code for handling SetHubFeature and ClearHubFeature since
    	we don't implement either one.
    
    	Remove some unnecessary comments.
    
    	Remove redundant min_t calculation.
    c00a2df2
uhci-debug.c 15.1 KB