Messages in this thread |  | | From | Andreas Dilger <> | Subject | Re: Pls add this driver to the kernel tree !! | Date | Thu, 30 Nov 2000 11:03:25 -0700 (MST) |
| |
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/
|  |