Re: how to find 2.4 compatible drivers?

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

 



On Mon, 2007-02-12 at 08:41 +0530, Rajat Jain wrote:
> 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?


some but very very few people do that.
the general idea that most people have is to only work on the latest
version of the driver, as part of the latest kernel.
the misguided people who want to use old kernels bear the pain and cost
of backporting the latest drivers to those kernels ;-)

-- 
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org


--
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