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/
This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:25 EST