Re: 2.6.23-rc8-mm1 - drivers/net/ibm_newemac/mal - broken

Kamalesh Babulal
2007-09-25T12:55:31Z

Hi Andrew,

The drivers/net/ibm_newemac/mal seems to be broken, which stop with
build error

CC drivers/net/ibm_newemac/mal.o
drivers/net/ibm_newemac/mal.c: In function ‘mal_schedule_poll’:
drivers/net/ibm_newemac/mal.c:238: error: too few arguments to function ‘netif_rx_schedule_prep’
drivers/net/ibm_newemac/mal.c:238: error: too few arguments to function ‘netif_rx_schedule_prep’
drivers/net/ibm_newemac/mal.c:238: error: too few arguments to function ‘netif_rx_schedule_prep’
drivers/net/ibm_newemac/mal.c:241: error: too few arguments to function ‘__netif_rx_schedule’
drivers/net/ibm_newemac/mal.c: In function ‘mal_poll_disable’:
drivers/net/ibm_newemac/mal.c:321: error: ‘__LINK_STATE_RX_SCHED’ undeclared (first use in this function)
drivers/net/ibm_newemac/mal.c:321: error: (Each undeclared identifier is reported only once
drivers/net/ibm_newemac/mal.c:321: error: for each function it appears in.)
drivers/net/ibm_newemac/mal.c: In function ‘mal_poll’:
drivers/net/ibm_newemac/mal.c:337: error: ‘struct net_device’ has no member named ‘quota’
drivers/net/ibm_newemac/mal.c:337: warning: type defaults to ‘int’ in declaration of ‘_x’
drivers/net/ibm_newemac/mal.c:337: error: ‘struct net_device’ has no member named ‘quota’
drivers/net/ibm_newemac/mal.c:375: error: too few arguments to function ‘__netif_rx_complete’
drivers/net/ibm_newemac/mal.c:390: warning: passing argument 2 of ‘netif_rx_reschedule’ makes pointer from integer without a cast
drivers/net/ibm_newemac/mal.c:404: error: ‘struct net_device’ has no member named ‘quota’
drivers/net/ibm_newemac/mal.c: In function ‘mal_probe’:
drivers/net/ibm_newemac/mal.c:542: error: ‘struct net_device’ has no member named ‘weight’
drivers/net/ibm_newemac/mal.c:543: error: ‘struct net_device’ has no member named ‘poll’
drivers/net/ibm_newemac/mal.c: In function ‘mal_remove’:
drivers/net/ibm_newemac/mal.c:660: error: implicit declaration of function ‘netif_poll_disable’
make[3]: *** [drivers/net/ibm_newemac/mal.o] Error 1
make[2]: *** [drivers/net/ibm_newemac] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.