[PATCH] filter: pci and sdio ports under the platform driver filter

Aleksander Morgado aleksander at aleksander.es
Tue May 22 15:40:43 UTC 2018


On Tue, May 22, 2018 at 3:49 PM, Dan Williams <dcbw at redhat.com> wrote:
> On Tue, 2018-05-22 at 12:31 +0200, Aleksander Morgado wrote:
>> Do not automatically probe serial ports under the 'pci' or 'sdio'
>> platform drivers unless explicitly tagged with
>> ID_MM_PLATFORM_DRIVER_PROBE.
>
> Hmm, now I have to dig out my Nozomi card to make sure we don't break
> that one... It's pure PCI device with serial ports, not a USB hub like
> every other kind.  If this breaks nozomi, I guess we add some udev
> files with DRIVER_PROBE?
>

Yes, I believe we should probably explicitly whitelist those somehow,
otherwise we would be probing other non-modems ttySx ports in the
system. Or, just assume that this kind of device requires manual udev
tagging from the user?

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list