|
|
Log in / Subscribe / Register

Driver porting: hello world

Driver porting: hello world

Posted Feb 14, 2003 5:19 UTC (Fri) by rusty (guest, #26)
Parent article: Driver porting: hello world

Hi Jon,

I appeciate the series in modernizing modules, but just FYI, I don't think the old-style init_module/cleanup_module stuff will break any time soon: there are still a large number of drivers which use it, and there's not much point making such changes.

However, this "new" scheme (introduced by Linus in 2.3 IIRC) has the advantage that your module will work correctly when built into the kernel: you want that initialization routine called, even then.

So I hope that clarifies,
Rusty.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds