lkml.org 
[lkml]   [2002]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Hot swap support in linux?
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.

Yes.

> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.057 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site