[Click] Unable to patch e1000 for Linux 2.6.24.7
Martti Kuparinen
martti.kuparinen at iki.fi
Fri Feb 5 13:54:31 EST 2010
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