Re: [PATCH 06/20] usb: hcd-pci: introduce pm-ops for platform-pci devs

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

 



Hi,

On Thu, Aug 25, 2011 at 09:02:04AM -0700, Sarah Sharp wrote:
> > > Of course.  And when they do, maybe adding the glue layer will be 
> > > appropriate.  Until then, it isn't.
> > 
> > Are you sure they aren't already ?
> 
> I can't comment on future Intel products, of course, but I can say I'm
> very interesting in making non-PCI xHCI hosts work in Linux in the long
> run.  If inserting a platform_device between hosts that do have a direct
> PCI-attached device is the only sensible way to do it, as long as power
> management and the Intel EHCI to xHCI port switchover works, then I
> think we should use a platform_device.

It might not be the only sensible way, but to my eyes, I must say, it
looks nicer because we avoid many EXPORT_SYMBOL(), avoid loads of
callbacks and keep PM-related code local to their own context (xhci-pci
handles PCI only and xhci.c handles XHCI only), etc.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux