[PATCH] don't add pci devices without pci vendor/product ID
Danny Kukawka
danny.kukawka at web.de
Thu Nov 29 07:18:08 PST 2007
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.
Danny
device.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-dont_add_pci_device_without_pciID.diff
Type: text/x-diff
Size: 941 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20071129/fc7f231e/attachment.diff
More information about the hal
mailing list