[TriLUG] 2.4 kernel modules on 2.6

Mike M linux-support at earthlink.net
Wed Feb 4 05:20:49 EST 2004


On Wed, Feb 04, 2004 at 09:39:22AM -0500, Jeremy Portzer wrote:

> According to a presentation I saw on 2.6, the module and hardware
> interfaces have changed somewhat, so all drivers will require porting. 

<snip>

> On Wed, 2004-02-04 at 09:31, Ed Anderson wrote:

> > Do all third party kernel modules from 2.4 need to be ported to 2.6, or 
> > do some still work?
<snip>

I am reading through the monstrous Sangmona driver (which has been
around since 2.0 kernels).  It's filled with #ifdef for 2.1 and 2.4.
I assume there will be new #ifdef for 2.6 based on your statement above
and what I see in the current driver.

My copy of O'Reilly's "Linux Device Drivers" is copyrighted 1998.  It
addresses the 2.0 kernel and has some references to 2.1.  In reading the
Sangoma driver I see 2.4 related changes.  The book is useful for
reading legacy drivers, but it's relevence to 2.6 is fading.  

(Note: There is a 2nd edition covering 2.4 with a copyright date of
2001. $US39.00 

http://www.oreilly.com/catalog/linuxdrive2/

)

Here's an article that googled on "linux 2.6 device driver changes"
http://lwn.net/Articles/driver-porting/

My adoption of 2.6 has just been slowed. And I was _so_ looking forward
to having pre-emptable user space processes.

-- 
Mike

Two hundred years ago, we note mischievously, the average American or 
European had a standard of living not very much superior to that of the
average man in India or China. -- dailyreckoning.com



More information about the TriLUG mailing list