lkml.org 
[lkml]   [2000]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Pls add this driver to the kernel tree !!
Date
Meelis Roos writes:
> JBJ> #ifdef INLINE_PCISCAN
> JBJ> #include "k_compat.h"
> JBJ> #else
> JBJ> #include "pci-scan.h"
> JBJ> #include "kern_compat.h"
> JBJ> #endif
>
> I quess you need to convert it to kernel PCI API first and probably also to
> optimize away the LINUX_VERSION_CODE checks (we know it's 2.4).

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.

Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
-
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.092 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site