Re: linux-next: Tree for December 12 (netdev ops)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stephen Rothwell <sfr@...>
Cc: <linux-next@...>, LKML <linux-kernel@...>, netdev <netdev@...>, Stephen Hemminger <shemminger@...>, Alan Cox <alan@...>
Date: Sunday, December 14, 2008 - 1:26 am

Stephen Rothwell wrote:


If hplan is built-in, this build error can happen:

build-r7084.out:8390p.c:(.text+0xfd9aa): undefined reference to `ei_start_xmit'
build-r7084.out:8390p.c:(.text+0xfd9b6): undefined reference to `ei_get_stats'
build-r7084.out:8390p.c:(.text+0xfd9c6): undefined reference to `ei_set_multicast_list'

since hplan uses 8390p.c, which uses lib8390.c, but the latter always uses:

#ifdef CONFIG_COMPAT_NET_DEV_OPS
	dev->hard_start_xmit = ei_start_xmit;
	dev->get_stats	= ei_get_stats;
	dev->set_multicast_list = ei_set_multicast_list;
	dev->tx_timeout = __ei_tx_timeout;
#endif

However, those ei_* functions should be eip_* in this case.
How to do that??

config attached.

~Randy
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: linux-next: Tree for December 12 (netdev ops), Randy Dunlap, (Sun Dec 14, 1:26 am)
Re: linux-next: Tree for December 12 (netdev ops), David Miller, (Mon Dec 15, 7:07 pm)