I got a lot of errors when I try to compile the driver under click/drivers for kernel 2.6.24:
[root@pc55 src]# KBUILD_NOPEDANTIC=1 make make -C /lib/modules/2.6.24.7/buildSUBDIRS=/usr/src/click-1.8.0/drivers/e1000-7.x/src modules make[1]: Entering directory `/usr/src/linux-2.6.24.7' CC [M] /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.o /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_update_mng_vlan': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:450: error: `struct vlan_group' has no membe r named `vlan_devices' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:460: error: `struct vlan_group' has no membe r named `vlan_devices' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_up': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:629: error: implicit declaration of function `netif_poll_enable' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_down': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:726: error: implicit declaration of function `netif_poll_disable' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_probe': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:987: error: implicit declaration of function `SET_MODULE_OWNER' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:1029: error: `struct net_device' has no memb er named `poll' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:1030: error: `struct net_device' has no memb er named `weight' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:1173:45: error: macro "INIT_WORK" passed 3 a rguments, but takes just 2 /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:1172: error: `INIT_WORK' undeclared (first u se in this function) /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:1172: error: (Each undeclared identifier is reported only once /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:1172: error: for each function it appears in .) /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_sw_init': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:1453: error: `struct net_device' has no memb er named `poll' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:1454: error: `struct net_device' has no memb er named `weight' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_close': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:1609: error: `struct vlan_group' has no memb er named `vlan_devices' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_tso': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3046: error: `struct sk_buff' has no member named `h' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3046: error: `struct sk_buff' has no member named `h' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3049: error: `struct sk_buff' has no member named `nh' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3050: error: `struct sk_buff' has no member named `nh' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3051: error: `struct sk_buff' has no member named `h' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3052: error: `struct sk_buff' has no member named `nh' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3053: error: `struct sk_buff' has no member named `nh' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3058: error: `struct sk_buff' has no member named `h' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3061: error: `struct sk_buff' has no member named `nh' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3062: error: `struct sk_buff' has no member named `h' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3063: error: `struct sk_buff' has no member named `nh' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3064: error: `struct sk_buff' has no member named `nh' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3071: error: `struct sk_buff' has no member named `nh' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3072: error: `struct sk_buff' has no member named `nh' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3073: error: `struct sk_buff' has no member named `h' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3074: error: `struct sk_buff' has no member named `h' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_tx_csum': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3117: error: `struct sk_buff' has no member named `h' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_xmit_frame': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3472: error: `struct sk_buff' has no member named `h' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3472: error: `struct sk_buff' has no member named `h' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_intr_msi': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3972: error: too few arguments to function ` netif_rx_schedule_prep' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:3977: error: too few arguments to function ` __netif_rx_schedule' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_intr': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:4058: error: too few arguments to function ` netif_rx_schedule_prep' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:4063: error: too few arguments to function ` __netif_rx_schedule' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_clean': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:4136: error: `struct net_device' has no memb er named `quota' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:4136: warning: type defaults to `int' in dec laration of `_y' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:4136: error: `struct net_device' has no memb er named `quota' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:4160: error: `struct net_device' has no memb er named `quota' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:4168: error: too few arguments to function ` netif_rx_complete' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_clean_rx_irq_ps': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:4621: warning: passing argument 1 of `__memc py' makes pointer from integer without a cast /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:4621: warning: passing argument 1 of `__buil tin_memcpy' makes pointer from integer without a cast /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_vlan_rx_kill_vid': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:5181: error: `struct vlan_group' has no memb er named `vlan_devices' /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c: In function `e1000_restore_vlan': /usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.c:5208: error: `struct vlan_group' has no memb er named `vlan_devices' make[2]: *** [/usr/src/click-1.8.0/drivers/e1000-7.x/src/e1000_main.o] Error 1 make[1]: *** [_module_/usr/src/click-1.8.0/drivers/e1000-7.x/src] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.24.7' make: *** [default] Error 2 On Thu, Aug 25, 2011 at 3:12 PM, Beyers Cronje <[email protected]> wrote: > Does the e1000 7.x version in click/drivers not work under 2.6.24.7 ? > > On Thu, Aug 25, 2011 at 2:38 PM, ahmed A. <[email protected]> wrote: > > > Hi, > > > > Can anyone provide me with e1000 pollable driver for CLICK which > > is compatible with kernel 2.6.24.7 ?? I tried to find it in the mailing > > list > > but I couldn't. why such drivers are not available in Click website ? > > > > Thank you > > > > Ahmed > > _______________________________________________ > > 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 > _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
