From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Duffy Date: Mon, 01 Nov 2004 17:19:31 +0000 Subject: Re: PCI hotplug Message-Id: <1099329571.9878.7.camel@duffman> MIME-Version: 1 Content-Type: multipart/mixed; boundary="=-DF0Ycfe0Z5O4YiaTE26H" List-Id: References: <1098903129.17422.2.camel@duffman> In-Reply-To: <1098903129.17422.2.camel@duffman> To: linux-hotplug@vger.kernel.org --=-DF0Ycfe0Z5O4YiaTE26H Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2004-10-29 at 21:03 -0700, Greg KH wrote:=20 > On Wed, Oct 27, 2004 at 11:52:09AM -0700, Tom Duffy wrote: > > Greg, et. al, > >=20 > > Is there a document out there describing in detail how PCI hotplug work= s > > under Linux? >=20 > From a kernel viewpoint, or from a userspace viewpoint? For 2.4 or > 2.6? kernel, 2.6 > Did you take a look at the acpi pci hotplug driver in the kernel? > Source is always your best documentation :) Yes, I started to go through it. And I was afraid you were going to say that :-) > Anything specific you are wondering about? Well, we are building a system that will have PCI-E hotplug and I need to make sure that Linux will support it. I am under the impression that Windows uses ACPI to tell the BIOS to stimulate the hotplug controller registers. In general, Linux has relied less on the BIOS to handle system management, instead implementing all the bits in the OS. With proper support from the OS, the driver itself could use interrupts from the standard hotplug controller in the host's root PCI bridge to handle hotplug events. So, what does Linux do? -tduffy --=20 "A democracy cannot exist as a permanent form of government. It can only exist until the voters discover that they can vote themselves money from the public treasure. From that moment on, the majority always votes for the candidates promising the most money from the public treasury, with the result that democracy always collapses over loose fiscal policy followed by a dictatorship. The average of the world's greatest civilizations has been two hundred years. These nations have progressed through the following sequence: from bondage to spiritual faith, from spiritual faith to great courage, from courage to liberty, from liberty to abundance, from abundance to selfishness, from selfishness to complacency, from complacency to apathy, from apathy to dependency, from dependency back to bondage." -- Alexander Tyler, 1778 --=-DF0Ycfe0Z5O4YiaTE26H Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBBhnAjdY502zjzwbwRAt16AJsEwhPkApvxY89Ck7fLiwySDkyIUgCfR50H G9EK7XE7Xey+SpDcxlpN42s= =wQUl -----END PGP SIGNATURE----- --=-DF0Ycfe0Z5O4YiaTE26H-- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ 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