Re: PCI hotplug question.

Russell King
2003-03-05T08:25:01Z

On Tue, Mar 04, 2003 at 10:15:20PM -0800, Greg KH wrote:
> I can't find my copy of the PCI Hotplug spec right now (and it's not
> free for download anymore...), but I think that once a user presses the
> latch button, the OS _has_ to power down that slot within a reasonable
> amount of time. So there's no way that a driver could return an error
> to the remove() callback and have a chance to still be around in a
> moment or so. And some systems (ACPI controlled PCI Hotplug), we don't
> have a choice, as the BIOS is about to do the powerdown anyway, and we
> can't stop it.

Not only that, but with Cardbus-based PCI expansion systems, a complete
PCI bus tree could have been removed and be gone before the drivers get
notified, if the user pulls the cardbus card from the slot.

--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux