Re: Hot swap support in linux?

From: Greg KH (
Date: Wed Jan 02 2002 - 09:46:10 EST

On Wed, Jan 02, 2002 at 05:28:50PM +0530, Raghavendra Koushik wrote:
> few more questions pertaining to hot swap..
> 1. how exactly do I build my linux kernel with hotswap support. When I do
> 'make xconfig' (for linux 2.4.4 kernel) I don't see a hotplug option.

The PCI Hotplug code is not in the 2.4.4 kernel. It went in around
2.4.16 or so.

> 2. If I write my driver according to the new way of writing PCI drivers for
> ethernet cards i.e using MODULE_DEVICE_TABLE et al, is it enough
> to make my driver hot pluggable.


> 3. Does the NIC need to provide any particular h/w support to make it
> hotpluggable.

No. The pci hotplug stuff is handled by a separate controller that
handles the initialization and shutdown of the individual PCI cards.

Hope this helps,

greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:17 EST