[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: __init vs __devinit for non? hotplug device
On Mon, May 30, 2005 at 03:16:16PM -0600, Jim Cromie wrote:
>
> im hacking at scx200, which is a module associated with
> a GEODE cpu, either an SC-1200, or an SC-1100,
> as used in soekris net4801. (there are others too)
>
> since this module is tightly bound to a high-integration cpu,
> (has on-chip PCI devices, which are 'probed'),
> it seems that there is no point to keeping some code
> around past __init time, even under hotplug.
>
> Or do I miss something ?
fakephp. That module allows you to hot unplug any pci device
"logically" from the system at any time. It might also allow you to
rebind devices, haven't looked at it in a while...
But anyway, generally you are correct. For devices on a motherboard
only, you can stick with __init.
thanks,
greg k-h
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/