Re: how to transplant a driver from 2.4 to 2.6?
From: Valeo de Vries
Date: Mon Aug 09 2010 - 04:59:34 EST
On 9 August 2010 09:03, hacklu <embedway.linux@xxxxxxxxx> wrote:
> I have a driver project programmed under the 2.4 kernel.
> but now ,I want to transplant it to 2.6.
> the driver has some directions;
> like 1/1.c 2/2.c 3/3_1.c 3_2.c
> in this case ,how can I imtate the template Makefile of 2.6's driver
>
> [...]
Fortunately for me, I've not been unlucky enough to need to port 2.4
drivers myself, so I can't tell you the exact steps. However there are
many articles and guides on the 'net that can: a google search for
"linux kernel porting driver 2.4 2.6" will suffice; just look at the
first few hits. If you need more help on Kconfig this may also help
you: http://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt
.
Valeo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/