From: Paolo <paolopiace@gmail.com>
To: linux-pci@vger.kernel.org
Subject: Re: accessing pci_dev
Date: Tue, 7 Aug 2012 00:13:45 +0000 (UTC) [thread overview]
Message-ID: <loom.20120807T020525-624@post.gmane.org> (raw)
In-Reply-To: CAErSpo5-U1AJr1+HbkGxXKKa8MQ0WOzSpVNy7ooj2rtPoXyHnQ@mail.gmail.com
Bjorn Helgaas <bhelgaas <at> google.com> writes:
>
> The user command "lspci -x" is a good way to see raw config space.
Sure, Thanks. But I need & want to do everything with the functions
pci_read_config_...
They need the struct pci_dev whose pointer is returned by the BIOS (or Kernel?)
as parameter of the probe function in the struct pci_driver
There must be a way to get access to each and every pci_dev without resorting to
the probe function.
That's what I'm looking fwd to know.
Regards
next prev parent reply other threads:[~2012-08-07 0:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-06 22:19 accessing pci_dev Paolo
2012-08-06 22:46 ` Greg KH
2012-08-06 23:16 ` Paolo
2012-08-06 23:59 ` Bjorn Helgaas
2012-08-07 0:13 ` Paolo [this message]
2012-08-07 4:18 ` Bjorn Helgaas
2012-08-07 5:34 ` Paolo
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=loom.20120807T020525-624@post.gmane.org \
--to=paolopiace@gmail.com \
--cc=linux-pci@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.