lkml.org 
[lkml]   [2000]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Pls add this driver to the kernel tree !!
** 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/

\
 
 \ /
  Last update: 2005-03-22 12:49    [W:0.049 / U:2.736 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site