Re: how to find 2.4 compatible drivers?

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

 



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.

> Is it only the entry point that differs or something else gives the
> clue?

A lot more changed. Think about the driver model, for example. See
http://lwn.net/Articles/driver-porting/ for articles that tell you how
to port 2.4 drivers to 2.6, that should give you a clue.


Erik

-- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery

Attachment: signature.asc
Description: Digital signature


[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