[Click] Unable to patch e1000 for Linux 2.6.24.7

Roman Chertov rchertov at cs.ucsb.edu
Fri Feb 5 14:14:09 EST 2010


Martti,

Try using the 7.6.15.5
http://www.mail-archive.com/click@amsterdam.lcs.mit.edu/msg02347.html

Also, there is the e1000e driver that Joonwoo posted.  You need to
search the mailing list as it never made it to the main tree.

Both of those drivers work well in my experience.

Roman

Martti Kuparinen wrote:
> Roman Chertov wrote:
> 
>> You cannot patch the e1000 driver  that is bundled with 2.6.24.7.  You
>> have to get a e1000-7.3.20 driver from sourceforge and then patch it.
> 
> And what else?
> 
> ROOT router:~> uname -srm
> Linux 2.6.24.7 x86_64
> 
> ROOT router:~> rm -rf e1000-7.3.20
> ROOT router:~> tar xzf e1000-7.3.20.tar.gz
> ROOT router:~> cd e1000-7.3.20/src
> ROOT router:~/e1000-7.3.20/src> patch -p2 <
> ~/click/drivers/e1000-7.3.20-polling.patch
> patching file Makefile
> patching file e1000.h
> patching file e1000_main.c
> patching file e1000_param.c
> ROOT router:~/e1000-7.3.20/src> make
> make -C /lib/modules/2.6.24.7/build SUBDIRS=/root/e1000-7.3.20/src modules
> make[1]: Entering directory `/root/linux-2.6.24.7'
> scripts/Makefile.build:46: *** CFLAGS was changed in
> "/root/e1000-7.3.20/src/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
> make[1]: *** [_module_/root/e1000-7.3.20/src] Error 2
> make[1]: Leaving directory `/root/linux-2.6.24.7'
> make: *** [default] Error 2
> ROOT router:~/e1000-7.3.20/src>
> 



More information about the click mailing list