Re: [PATCH 6/9 v3] xHCI: Check host USB2 LPM capability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2011-09-06 at 08:27 -0700, Greg KH wrote:
> On Tue, Sep 06, 2011 at 03:51:44PM +0800, Andiry Xu wrote:
> > Check the host's USB2 LPM capability.
> > 
> > USB2 software LPM support is optional for xHCI 0.96 hosts. xHCI 1.0 hosts
> > should support software LPM, and may support hardware LPM.
> > 
> > Signed-off-by: Andiry Xu <andiry.xu@xxxxxxx>
> > ---
> >  drivers/usb/host/xhci-ext-caps.h |    6 ++++++
> >  drivers/usb/host/xhci-mem.c      |   17 +++++++++++++++++
> >  drivers/usb/host/xhci.h          |    4 ++++
> >  3 files changed, 27 insertions(+), 0 deletions(-)
> > 
> > diff --git a/drivers/usb/host/xhci-ext-caps.h b/drivers/usb/host/xhci-ext-caps.h
> > index ce5c9e5..c7f3312 100644
> > --- a/drivers/usb/host/xhci-ext-caps.h
> > +++ b/drivers/usb/host/xhci-ext-caps.h
> > @@ -65,6 +65,12 @@
> >  /* bits 1:2, 5:12, and 17:19 need to be preserved; bits 21:28 should be zero */
> >  #define	XHCI_LEGACY_DISABLE_SMI		((0x3 << 1) + (0xff << 5) + (0x7 << 17))
> >  
> > +/* USB 2.0 xHCI 0.96 L1C capability - section 7.2.2.1.3.2 */
> > +#define XHCI_L1C               (1 << 16)
> > +
> > +/* USB 2.0 xHCI 1.0 hardware LMP capability - section 7.2.2.1.3.2 */
> > +#define XHCI_HLC               (1 << 19)
> 
> 
> Ick, do we care about pre-1.0 hardware anymore?
> 

0.96 host is taken care of. 0.95 host is obsolete on market now and I
think we do not need to care it anymore.

Thanks,
Andiry


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux