Re: [PATCH] usb: pci-quirks: do not access OHCI_FMINTERVAL register on ULI hw
From: Alan Stern
Date: Thu May 29 2014 - 13:16:27 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/