From mboxrd@z Thu Jan 1 00:00:00 1970 From: sumalatha Date: Tue, 19 Sep 2006 05:22:47 +0000 Subject: Re: PCI hotplug question: drivers Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Hi Greg, I am using PLX 9030 chip for all my pci cards.I used pci_find_devic= e() 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 t= ake 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 ment= ioned cards) in linux and also in RTLinux. Will RTLinux support hotswap ? =20 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=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ 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