[systemd-devel] [PATCH 2/2] udev: fix for devices without PCI

Rob Clark robdclark at gmail.com
Sun Mar 3 10:10:08 PST 2013


On Sun, Mar 3, 2013 at 1:06 PM, Kay Sievers <kay at vrfy.org> wrote:
> On Sun, Mar 3, 2013 at 6:55 PM, Rob Clark <robdclark at gmail.com> wrote:
>> On many arm embedded SoC's (phones, tablets, etc), there is no PCI bus.
>> So it is not an error if names_pci() fails to find a parent PCI device.
>
> As the comment in the code lines above states, all these names work on
> for PCI based setups.
>
> Other buses and architectures would need proper code to handle them,
> not just skip over the pci prefix. We cannot do that.

Of course, if you have a better idea in mind, I am all-ears.  I'm not
a systemd/udev expert, so certainly don't claim that it is the best
fix.  It would be nice for this to work somehow properly on the
various PCI-less systems out there.

BR,
-R

> Kay


More information about the systemd-devel mailing list