Skip to contentSkip to conversation

fs_enet: select PHYLIB as the driver needs it.

PATCH2/2 Jochen Friedrich 1 participant 1 message Nov 3, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Add a select PHYLIB to config FS_ENET as the driver uses functions of libphy.

LD .tmp_vmlinux1
drivers/built-in.o: In function `fs_ioctl':
drivers/net/fs_enet/fs_enet-main.c:952: undefined reference to `phy_mii_ioctl' [...]
make: *** [.tmp_vmlinux1] Error 1

---
drivers/net/fs_enet/Kconfig | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/fs_enet/Kconfig +1 -0
index 2765e49..24502d2 100644
@@ -2,6 +2,7 @@ config FS_ENET
    tristate "Freescale Ethernet Driver"
    depends on CPM1 || CPM2
    select MII
+       select PHYLIB
 

config FS_ENET_HAS_SCC
bool "Chip has an SCC usable for ethernet"

Signature · 1 line
1.5.3.4