Hi, Thanks to joonwoo Park and NemeanNetworks there is an e1000-7.6.15.5 patch available. It is now checked in to the main Click tree.
E 卓理 方 wrote: > Hi, > Before I tried to patch e1000-7.6.15.5, I have already patched > e1000-7.3.20-polling.patch to e1000-7.3.20 driver! The results are as follows: > > [r...@localhost src]# patch -p2 < > /home/click-1.7.0rc1/drivers/e1000-7.3.20-polling.patch > patching file Makefile > patching file e1000.h > patching file e1000_main.c > patching file e1000_param.c > > Then I installed the patched e1000-7.3.20,and I had the same problem with > Martti Kuparinen : > > 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' >> CC [M] /root/e1000-7.3.20/src/e1000_main.o >> /root/e1000-7.3.20/src/e1000_main.c: In function ‘e1000_update_mng_vlan’: >> /root/e1000-7.3.20/src/e1000_main.c:446: error: ‘struct vlan_group’ has >> no member named ‘vlan_devices’ >> /root/e1000-7.3.20/src/e1000_main.c:456: error: ‘struct vlan_group’ has >> no member named ‘vlan_devices’ >> /root/e1000-7.3.20/src/e1000_main.c: In function ‘e1000_up’: >> /root/e1000-7.3.20/src/e1000_main.c:625: error: implicit declaration of >> function ‘netif_poll_enable’ >> /root/e1000-7.3.20/src/e1000_main.c: In function ‘e1000_down’: >> /root/e1000-7.3.20/src/e1000_main.c:722: error: implicit declaration of >> function ‘netif_poll_disable’ >> /root/e1000-7.3.20/src/e1000_main.c: In function ‘e1000_probe’: >> /root/e1000-7.3.20/src/e1000_main.c:983: error: implicit declaration of >> function ‘SET_MODULE_OWNER’ >> /root/e1000-7.3.20/src/e1000_main.c:1025: error: ‘struct net_device’ has >> no member named ‘poll’ >> /root/e1000-7.3.20/src/e1000_main.c:1026: error: ‘struct net_device’ has >> no member named ‘weight’ >> /root/e1000-7.3.20/src/e1000_main.c:1169:45: error: macro "INIT_WORK" >> passed 3 arguments, but takes just 2 >> /root/e1000-7.3.20/src/e1000_main.c:1168: error: ‘INIT_WORK’ undeclared >> (first use in this function) > > I'm sure the version of the Linux kernel is 2.6.24.7. But the e1000-7.3.20 > seems not proper for this version of Linux kernel. So, is there a polling > patch for e1000-7.6.15.5 or some other versions of e1000 driver? If you have > some other versions of polling patches ,would you do me a favor to send them > to me? > Thanks! > > > > > > > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
