summaryrefslogtreecommitdiff
path: root/drivers/pci/Makefile
diff options
context:
space:
mode:
authorNarendra K <Narendra_K@dell.com>2010-07-26 05:56:50 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-07-30 09:36:01 -0700
commit911e1c9b05a8e3559a7aa89083930700a0b9e7ee (patch)
treef0b95455c3808c7732ae819bfbb33332830bae00 /drivers/pci/Makefile
parent8633328be242677fdedc42052838dd0608e7f342 (diff)
downloadlwn-911e1c9b05a8e3559a7aa89083930700a0b9e7ee.tar.gz
lwn-911e1c9b05a8e3559a7aa89083930700a0b9e7ee.zip
PCI: export SMBIOS provided firmware instance and label to sysfs
This patch exports SMBIOS provided firmware instance and label of onboard PCI devices to sysfs. New files are: /sys/bus/pci/devices/.../label which contains the firmware name for the device in question, and /sys/bus/pci/devices/.../index which contains the firmware device type instance for the given device. Signed-off-by: Jordan Hargrave <jordan_hargrave@dell.com> Signed-off-by: Narendra K <narendra_k@dell.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/Makefile')
-rw-r--r--drivers/pci/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile
index 0b51857fbaf7..dc1aa0922868 100644
--- a/drivers/pci/Makefile
+++ b/drivers/pci/Makefile
@@ -55,6 +55,9 @@ obj-$(CONFIG_MICROBLAZE) += setup-bus.o
#
obj-$(CONFIG_ACPI) += pci-acpi.o
+# SMBIOS provided firmware instance and labels
+obj-$(CONFIG_DMI) += pci-label.o
+
# Cardbus & CompactPCI use setup-bus
obj-$(CONFIG_HOTPLUG) += setup-bus.o