Re: Pls add this driver to the kernel tree !!

From: Timur Tabi (ttabi@interactivesi.com)
Date: Thu Nov 30 2000 - 15:06:28 EST


** Reply to message from Mark Hahn <hahn@coffee.psychology.mcmaster.ca> on Thu,
30 Nov 2000 14:16:16 -0500 (EST)

> > Actually, there is some benefit in leaving the LINUX_VERSION_CODE checks
> > there... If someone wants to back-port the driver to 2.2, this makes it
> > much easier. Also, some people like to maintain a single driver for all
> > of the kernel versions, so they don't have to bugfix each driver version.
>
> backports hurt forward progress.

Not necessarily - it all depends on what your driver does. In many cases,
supporting 2.2 and 2.4 is easy, and all you need are a few #if's. It's
certainly much better to have a dozen or so #if's sprinkled throughout the code
than to have two separate source trees, and have to make the same change to
multiple files.

Kernel drivers that are not easy to maintain simply delay the release of each
kernel version. Besides, code is back-ported from 2.4 to 2.2 all the time.

-- 
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com

When replying to a mailing-list message, please direct the reply to the mailing list only. Don't send another copy to me. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:25 EST