From: Greg KH <greg@kroah.com>
To: Narendra K <Narendra_K@dell.com>
Cc: netdev@vger.kernel.org, linux-hotplug@vger.kernel.org,
linux-pci@vger.kernel.org, matt_domsch@dell.com,
charles_rose@dell.com, jordan_hargrave@dell.com,
vijay_nijhawan@dell.com
Subject: Re: [PATCH V3] Export SMBIOS provided firmware instance and label
Date: Thu, 22 Jul 2010 18:56:03 +0000 [thread overview]
Message-ID: <20100722185603.GA2193@kroah.com> (raw)
In-Reply-To: <20100722184448.GA9122@auslistsprd01.us.dell.com>
On Thu, Jul 22, 2010 at 01:44:48PM -0500, Narendra K wrote:
> Hello,
>
> Resubmitting the patch with suggested changes -
>
> V2 -> V3:
>
> 1. Added documentation about the sysfs attributes in Documentation/ABI
> directory.
> 2. Changed the type of parameter 'attribute' of the function
> 'find_smbios_instance_string' from int to enum.
> 3. Changed the return type of the functions 'pci_create_firmware_label_files'
> and 'pci_remove_firmware_label_files' from int to void
>
> Please find the patch with above changes -
>
>
> From: Narendra K <narendra_k@dell.com>
> Subject: [PATCH] Export SMBIOS provided firmware instance and label to sysfs
>
> This patch exports SMBIOS provided firmware instance and label
> of onboard pci devices to sysfs
>
> Signed-off-by: Jordan Hargrave <jordan_hargrave@dell.com>
> Signed-off-by: Narendra K <narendra_k@dell.com>
> ---
> Documentation/ABI/testing/sysfs-bus-pci | 26 ++++++
> drivers/firmware/dmi_scan.c | 25 ++++++
> drivers/pci/Makefile | 3 +
> drivers/pci/pci-label.c | 143 +++++++++++++++++++++++++++++++
> drivers/pci/pci-sysfs.c | 5 +
> drivers/pci/pci.h | 9 ++
> include/linux/dmi.h | 9 ++
> 7 files changed, 220 insertions(+), 0 deletions(-)
> create mode 100644 drivers/pci/pci-label.c
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci
> index 428676c..d3eb807 100644
> --- a/Documentation/ABI/testing/sysfs-bus-pci
> +++ b/Documentation/ABI/testing/sysfs-bus-pci
> @@ -179,3 +179,29 @@ Contact: linux-pci@vger.kernel.org
> Description:
> This symbolic link points to the PCI hotplug controller driver
> module that manages the hotplug slot.
> +
> +What: /sys/bus/pci/devices/.../label
> +Date: July 2010
> +Contact: Linux PCI developers <linux-pci@vger.kernel.org>
Why not contact you?
> +Description:
> + Reading this attribute will provide the firmware
> + given name of the PCI device. The attribute will
> + be created only if the firmware has given a name
> + to the PCI device.
Where does that "name" come from? Please describe this.
> +Users:
> + Userspace applications interested in knowing the
> + firmware assigned name of the PCI device.
> +
> +What: /sys/bus/pci/devices/.../index
> +Date: July 2010
> +Contact: Linux PCI developers <linux-pci@vger.kernel.org>
> +Description:
> + Reading this attribute will provide the firmware
> + given instance of the PCI device. The attribute will
> + be created only if the firmware has given a device
> + type instance to the PCI device.
Same comments as above.
thanks,
greg k-h
next prev parent reply other threads:[~2010-07-22 18:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-22 18:44 [PATCH V3] Export SMBIOS provided firmware instance and label to sysfs Narendra K
2010-07-22 18:56 ` Greg KH [this message]
[not found] <EDA0A4495861324DA2618B4C45DCB3EE612C40@blrx3m08.blr.amer.dell.com>
2010-07-23 13:34 ` Narendra K
2010-07-23 13:55 ` [PATCH V3] Export SMBIOS provided firmware instance and label Greg KH
2010-07-23 14:58 ` [PATCH V3] Export SMBIOS provided firmware instance and label to sysfs Matt Domsch
2010-07-26 18:20 ` [PATCH V3] Export SMBIOS provided firmware instance and label Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100722185603.GA2193@kroah.com \
--to=greg@kroah.com \
--cc=Narendra_K@dell.com \
--cc=charles_rose@dell.com \
--cc=jordan_hargrave@dell.com \
--cc=linux-hotplug@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=matt_domsch@dell.com \
--cc=netdev@vger.kernel.org \
--cc=vijay_nijhawan@dell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).