From: Alexander Beregalov <a.berega...@gmail.com> Date: Wed, 20 May 2009 16:18:22 +0400
> Fix this build error: > drivers/built-in.o: In function `phy_state_machine': > drivers/net/phy/phy.c:893: undefined reference to 'netif_carrier_off' > drivers/net/phy/phy.c:854: undefined reference to 'netif_carrier_on' > > Signed-off-by: Alexander Beregalov <a.berega...@gmail.com> This isn't right. Otherwise no networking driver would build with NET_SCHED disabled. net/sched/sch_generic.c is always built when NET is enabled and that's where netif_carrier_off() is defined. As you can see in net/sched/Makefile, sch_generic.o is "obj-y", did you even check? :-) _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev