a good explanation of hotplug, __init and __devinit?

2010-06-27 Thread Robert P. J. Day
i'm fairly sure i know how the above features work, but is there a decent online coverage of that? otherwise, i'll post what i think is happening here and others are free to correct me. thanks. rday -- Robert P. J. Da

Fwd: Correct use of __init and __devinit

2007-12-24 Thread Adrian McMenamin
:56 Subject: Correct use of __init and __devinit Could someone here help settle this argument? I have written a driver (for the CD Rom on the Sega Dreamcast). I have marked various initialisation functions - including probe() and the functions that it, and only it, calls, as __init. Other develop

Re: __devinit

2007-11-27 Thread Rene Herman
On 28-11-07 00:42, Mansha Linux wrote: what is the significance of the __devinit in the init_module() ? It's not specific to the module_init() function... It's a pre-processor macro that's defined as: #ifdef CONFIG_HOTPLUG # define __devinit #else # define __devinit __in

__devinit

2007-11-27 Thread Mansha Linux
HI all, what is the significance of the __devinit in the init_module() ? -- regards, Mansha