mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
net: cosmetic: Fix var naming net <-> eth drivers
Update the naming convention used in the network stack functions and variables that Ethernet drivers use to interact with it. This cleans up the temporary hacks that were added to this interface along with the DM support. This patch has a few remaining checkpatch.pl failures that would be out of the scope of this patch to fix (drivers that are in gross violation of checkpatch.pl). Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
1203fcceec
commit
1fd92db83d
72 changed files with 225 additions and 209 deletions
|
@ -507,7 +507,7 @@ static int pcnet_recv (struct eth_device *dev)
|
|||
buf = (*lp->rx_buf)[lp->cur_rx];
|
||||
invalidate_dcache_range((unsigned long)buf,
|
||||
(unsigned long)buf + pkt_len);
|
||||
NetReceive(buf, pkt_len);
|
||||
net_process_received_packet(buf, pkt_len);
|
||||
PCNET_DEBUG2("Rx%d: %d bytes from 0x%p\n",
|
||||
lp->cur_rx, pkt_len, buf);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue