From: sumalatha <suma.aluru@gmail.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: PCI hotplug question: drivers
Date: Tue, 19 Sep 2006 05:22:47 +0000 [thread overview]
Message-ID: <loom.20060919T070515-404@post.gmane.org> (raw)
In-Reply-To: <loom.20060915T082244-470@post.gmane.org>
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.If
remapping is necessary I will do ioremap() and use those addresses to go the
local offsets. I will then interface this pci bus to my char device driver to
interact from the user space.Everything is working fine.All the hardware
features are met through my driver except hotswap.
Next what I did is, I enabled BUS OPTIONS(in kernel config) -pci
support for hotplug-cpci support for hotplug-generic driver for hotplug.I
rebuild the kernel .
I also have a doubt whether i should use any cpci_hotplug_core.c
functions in my driver.If I remove pci card from my cpci chassis should i take
care of slot_unconfigure() ? If so how to configure the slot again, because my
device is closed,and I can't interact with the driver thru my card . can I use
any of the /pci/hotplug/drivers to meet my requirements?
My final target is to develop a hotswap driver(for the above mentioned
cards) in linux and also in RTLinux. Will RTLinux support hotswap ?
thanks and regards,
sumalatha.
-------------------------------------------------------------------------
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 5:22 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 [this message]
2006-09-19 14:05 ` Greg KH
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=loom.20060919T070515-404@post.gmane.org \
--to=suma.aluru@gmail.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).