This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA2EG-17: tda2e 以太网 驱动问题

Part Number: TDA2EG-17
Other Parts Discussed in Thread: TDA2E

芯片集成mac,我们直接将这个mac与博通89541的mac连接,也就是tda2e没有外接phy,这样在以太网驱动中,我不加载davinci_mdio.ko,仅仅加载cpsw-common.ko,davinci_cpdma.ko,ti_cpsw.ko,在文件cpsw.c中,函数

static void cpsw_slave_open(struct cpsw_slave *slave, struct cpsw_priv *priv)里面我将 

if (slave->data->phy_node)  {

。。。

}

slave->phy = phy;

phy_attached_info(slave->phy);

phy_start(slave->phy);

这些代码去不都注释掉了。
我运行ping 命令的时候,static irqreturn_t cpsw_rx_interrupt(int irq, void *dev_id),static irqreturn_t cpsw_tx_interrupt(int irq, void *dev_id)都能进去跑,但就是ping不通,请问还需要修改什么地方吗?