From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: PCI hotplug question: drivers
Date: Tue, 19 Sep 2006 14:05:43 +0000 [thread overview]
Message-ID: <20060919140543.GA4053@kroah.com> (raw)
In-Reply-To: <loom.20060915T082244-470@post.gmane.org>
On Tue, Sep 19, 2006 at 05:22:47AM +0000, sumalatha wrote:
> Hi Greg,
> I am using PLX 9030 chip for all my pci cards.I used pci_find_device()
> to detect my cards.And then pci_enable_device() to enable pci_dev structure.
Ick, no. Please read Documentation/pci.txt, a very old document that
tells you not to use this style for pci drivers. Please us
pci_register_driver() instead.
If you do that, your driver will work properly with any pci hotplug
driver.
hope this helps,
greg k-h
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2006-09-19 14:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-15 6:27 PCI hotplug question: drivers sumalatha
2006-09-15 10:35 ` Greg KH
2006-09-19 5:22 ` sumalatha
2006-09-19 14:05 ` Greg KH [this message]
2006-09-20 12:32 ` sumalatha
2006-09-20 15:39 ` Greg KH
2006-09-26 8:52 ` sumalatha
2006-09-28 6:08 ` 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=20060919140543.GA4053@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@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 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).