lkml.org 
[lkml]   [2014]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] usb: pci-quirks: do not access OHCI_FMINTERVAL register on ULI hw
On Thu, 29 May 2014, Nikita Yushchenko wrote:

> >> I've checked these... all values read as 0xffffffff - which does not
> >> look correct
> >
> > You could have the platform setup code read one of those hardware
> > registers, such as FMINTERVAL. If it obtains 0xffffffff, don't
> > register the OHCI controller as a platform device.
>
> It is not a platform_device, it is PCI device that is found via bus scan.

Yes, of course, I got it mixed up.

Well, the quirk_usb_handoff_ohci() routine could do something like
this. If the FMINTERVAL value is 0xffffffff, deregister the device
from the PCI bus.

Alan Stern



\
 
 \ /
  Last update: 2014-05-29 20:01    [W:0.045 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site