[PATCH] don't add pci devices without pci vendor/product ID

Danny Kukawka danny.kukawka at web.de
Thu Dec 6 11:44:08 PST 2007


On Donnerstag, 6. Dezember 2007, David Zeuthen wrote:
> 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.

Commited,

Danny




More information about the hal mailing list