diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 07:59:13 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 17:46:20 -0500 |
commit | adf5d93e441eb3eacd8c0430d6064b35d47ad2a5 (patch) | |
tree | d8e088ac9d135ab710a276b405c3ed3e5f19b872 /net/cdp.c | |
parent | 61da3c2af8ba7a06cb1f7e9e0db54b9ddea532ce (diff) | |
download | u-boot-imx-adf5d93e441eb3eacd8c0430d6064b35d47ad2a5.zip u-boot-imx-adf5d93e441eb3eacd8c0430d6064b35d47ad2a5.tar.gz u-boot-imx-adf5d93e441eb3eacd8c0430d6064b35d47ad2a5.tar.bz2 |
net: Refactor to use NetSendPacket instead of eth_send directly
Use this entry-point consistently across the net/ code
Use a static inline function to preserve code size
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/cdp.c')
-rw-r--r-- | net/cdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -216,7 +216,7 @@ CDPSendTrigger(void) chksum = 0xFFFF; *cp = htons(chksum); - (void) eth_send(NetTxPacket, (uchar *)s - NetTxPacket); + NetSendPacket(NetTxPacket, (uchar *)s - NetTxPacket); return 0; } |