From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 14 Mar 2006 19:25:04 +0000 Subject: Re: pci configuration registers Message-Id: <20060314192504.GA27012@kroah.com> List-Id: References: <1142348627.9472.31.camel@ikkyo.elis.UGent.be> In-Reply-To: <1142348627.9472.31.camel@ikkyo.elis.UGent.be> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Mar 14, 2006 at 04:03:47PM +0100, Philippe Faes wrote: > Hi Gang, > > I've read how I can use fakephp to (virtually) remove an detect devices > on my PCI bus. > My problem now is: my (new) device doesn't have its PCI configuration > registers set. Normally this is done during boot, but since I hot-plug > it, they are not set. > I think pci_setup_device does something similar, but this function is > not made visible to the modules. > > What is the proper way to automatically configure the PCI registers? Use the pci hotplug controller interface :) good luck, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ 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