NUC972+DP83848KSQ,网口遇到问题,求大佬解惑
内核配置里PHY选了 National Semiconductor,
但是启动的时候说没有发现PHY
libphy: nuc970_rmii0: probed
nuc970-emac0 nuc970-emac0: phy_find_first() failed
nuc970-emac0 nuc970-emac0: nuc970_mii_setup err
libphy: nuc970_rmii1: probed
nuc970-emac1 nuc970-emac1: phy_find_first() failed
nuc970-emac1 nuc970-emac1: nuc970_mii_setup err
随后在linux内核3.10.x/deiver/net/phy里,Makefile和kconfig 添加了DP83640,内核配置phy选DP83640,但是编译内核出错
drivers/ built-in .o: In function `dp83640_txtstamp':
:(.text+0x761dc): undefined reference to `skb_complete_tx_timestamp'
:(.text+0x7620c): undefined reference to `skb_complete_tx_timestamp'
drivers/ built-in .o: In function `dp83640_rxtstamp':
:(.text+0x76430): undefined reference to `ptp_clock_event'
:(.text+0x765d4): undefined reference to `skb_complete_tx_timestamp'
drivers/ built-in .o: In function `dp83640_ts_info':
:(.text+0x76648): undefined reference to `ptp_clock_index'
drivers/ built-in .o: In function `dp83640_remove':
:(.text+0x77280): undefined reference to `skb_complete_tx_timestamp'
:(.text+0x77330): undefined reference to `ptp_clock_unregister'
drivers/ built-in .o: In function `dp83640_probe':
:(.text+0x77a40): undefined reference to `ptp_clock_register'
make: *** [vmlinux] Error 1
不知道该怎么解决了。。。。
|