Re: how to find 2.4 compatible drivers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/9/07, Erik Mouw <mouw@xxxxxxxxxxxx> wrote:
On Fri, Feb 09, 2007 at 02:31:44PM +0530, Surya wrote:
> In Linux kernel 2.6.x how do I find the 2.4 compatible drivers.

You could look for use of the KERNEL_VERSION macro, that usually tells
you if there's a compatibility layer. A quick grep shows that only 34 C
files of all 3355 C files in the drivers/ directory use the
KERNEL_VERSION macro. That makes sense because compatibility layers for
in-kernel drivers are frowned upon.

Does that mean that two seperate trees of a driver are being
maintained? (One "in-kernel" version tighly coupled with the kernel
version, and an "independent module" version that is compatible with
all the kernels?

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux