From: Greg KH <greg@kroah.com>
To: Chris Wright <chrisw@sous-sol.org>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>,
Mark McLoughlin <markmc@redhat.com>, kvm <kvm@vger.kernel.org>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
Chris Wright <chrisw@redhat.com>,
"Dugger, Donald D" <donald.d.dugger@intel.com>,
"Kay, Allen M" <allen.m.kay@intel.com>
Subject: Re: [PATCH 1/2] PCI: add some sysfs ABI docs
Date: Mon, 23 Feb 2009 19:47:18 -0800 [thread overview]
Message-ID: <20090224034718.GA24780@kroah.com> (raw)
In-Reply-To: <20090224021725.GB7436@sequoia.sous-sol.org>
On Mon, Feb 23, 2009 at 06:17:25PM -0800, Chris Wright wrote:
> Add sysfs ABI docs for driver entries bind, unbind and new_id. These
> entries are pretty old, from 2.6.0 onwards AFAIK, so this documents
> current behaviour.
>
> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
> ---
> Documentation/ABI/testing/sysfs-bus-pci | 41 ++++++++++++++++++++++++++++++++
> 1 file changed, 41 insertions(+)
>
> --- a/Documentation/ABI/testing/sysfs-bus-pci
> +++ b/Documentation/ABI/testing/sysfs-bus-pci
> @@ -1,3 +1,44 @@
> +What: /sys/bus/pci/drivers/.../bind
> +Date: December 2003
> +Contact: linux-pci@vger.kernel.org
> +Description:
> + Writing a device location to this file will cause
> + the driver to attempt to bind to the device found at
> + this location. This is useful for overriding default
> + bindings. The format for the location is: DDDD:BB:DD.F.
> + That is Domain:Bus:Device.Function and is the same as
> + found in /sys/bus/pci/devices/. For example:
> + # echo 0000:00:19.0 > /sys/bus/pci/drivers/foo/bind
Don't you need 'echo -n' instead? Or did we fix that problem? Or is
that just for the new_id file?
If so, feel free to ignore the comment and add:
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Thanks a lot for doing this, it is much needed.
greg k-h
next prev parent reply other threads:[~2009-02-24 3:48 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-13 16:32 KVM PCI device assignment issues Mark McLoughlin
2009-02-13 16:56 ` Greg KH
2009-02-13 17:06 ` Mark McLoughlin
2009-02-13 17:36 ` Matthew Wilcox
2009-02-13 18:22 ` Chris Wright
2009-02-13 19:47 ` Chris Wright
2009-02-24 9:20 ` Zhao, Yu
2009-02-14 2:12 ` [PATCH] pci: add remove_id sysfs entry Chris Wright
2009-02-14 3:33 ` Greg KH
2009-02-24 1:26 ` Chris Wright
2009-02-24 2:17 ` [PATCH 1/2] PCI: add some sysfs ABI docs Chris Wright
2009-02-24 2:18 ` [PATCH 2/2] PCI: add remove_id sysfs entry Chris Wright
2009-02-24 3:47 ` Greg KH
2009-02-24 5:33 ` Chris Wright
2009-02-24 5:43 ` Greg KH
2009-02-24 3:47 ` Greg KH [this message]
2009-02-24 5:08 ` [PATCH 1/2] PCI: add some sysfs ABI docs Chris Wright
2009-02-24 5:50 ` [PATCH 1/2 v2] " Chris Wright
2009-02-24 5:52 ` [PATCH 2/2 v2] PCI: add remove_id sysfs entry Chris Wright
2009-02-26 5:37 ` Han, Weidong
2009-02-27 0:27 ` Chris Wright
2009-03-20 0:35 ` Jesse Barnes
2009-02-24 17:37 ` [PATCH 1/2 v2] PCI: add some sysfs ABI docs Jesse Barnes
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=20090224034718.GA24780@kroah.com \
--to=greg@kroah.com \
--cc=allen.m.kay@intel.com \
--cc=chrisw@redhat.com \
--cc=chrisw@sous-sol.org \
--cc=donald.d.dugger@intel.com \
--cc=jbarnes@virtuousgeek.org \
--cc=kvm@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=markmc@redhat.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