[PATCH] don't add pci devices without pci vendor/product ID
David Zeuthen
david at fubar.dk
Thu Dec 6 11:35:41 PST 2007
On Thu, 2007-11-29 at 16:18 +0100, Danny Kukawka wrote:
> Hi,
>
> since pci.vendor_id and pci.product_id are mandatory for devices in the pci
> namespace/subsystem and get also used to generate the UDI, I would propose to
> not add pci devices which miss one of the IDs to the device tree.
>
> This would e.g. prevent to add the /sys/bus/pci/slot devices which get
> generated by the pciehp kernel modul under linux, since they don't provide
> their IDs.
Good catch. The slot devices weren't around when this code was
originally written. Please commit.
David
More information about the hal
mailing list