summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorJiaojinxing <jiaojinxing1987@gmail.com>2018-02-02 09:41:48 (GMT)
committer Jiaojinxing <jiaojinxing1987@gmail.com>2018-02-02 09:41:48 (GMT)
commitb5dac28054109f1367728a2437f2acd7240b205b (patch)
tree70b44f5c3d1678322fdcbcaf3e426e318c734fa9
parent9baaa6bdede6ee9e4cd489a6cbcb68d796f61e4e (diff)
downloadbspam335x-b5dac28054109f1367728a2437f2acd7240b205b.zip
bspam335x-b5dac28054109f1367728a2437f2acd7240b205b.tar.gz
bspam335x-b5dac28054109f1367728a2437f2acd7240b205b.tar.bz2
Changed netdev_linkup_poll_add to netdev_linkup_wd_add.
-rw-r--r--SylixOS/driver/netif/am335x_cpsw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/SylixOS/driver/netif/am335x_cpsw.c b/SylixOS/driver/netif/am335x_cpsw.c
index 24c3469..7c0a349 100644
--- a/SylixOS/driver/netif/am335x_cpsw.c
+++ b/SylixOS/driver/netif/am335x_cpsw.c
@@ -393,7 +393,7 @@ INT arm335xCpswNetDevAdd (AM335X_NETIF_CFG *pNetIfCfg, PAM335X_PINMUX pPinMux
return (PX_ERROR);
}
- netdev_linkup_poll_add(pNetdev, __am335xCpswLinkStatusCheck);
+ netdev_linkup_wd_add(pNetdev, __am335xCpswLinkStatusCheck);
return (ERROR_NONE);
}
@@ -453,7 +453,7 @@ INT arm335xCpswSwitchAdd (AM335X_NETIF_CFG *pNetIfCfg, PAM335X_PINMUX pPinMux
pCpswPortIf->inst_num = pNetIfCfg->NETIFCFG_uiInstNum;
pCpswPortIf->port_num = pNetIfCfg->NETIFCFG_uiSlavePortNum;
- netdev_linkup_poll_add(pNetdev, __am335xCpswLinkStatusCheck);
+ netdev_linkup_wd_add(pNetdev, __am335xCpswLinkStatusCheck);
return (ERROR_NONE);
}