summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-04-08 01:41:21 -0500
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:35 -0600
commitbc0571fc1067ff8a8fd16990ae65c1a2826ea90c (patch)
tree1381f5ebd824a415652755afd5adc65d362071b9 /drivers/net
parenta34f2075633d7928e2988193b0caba5854e6ef20 (diff)
downloadu-boot-bc0571fc1067ff8a8fd16990ae65c1a2826ea90c.tar.gz
u-boot-bc0571fc1067ff8a8fd16990ae65c1a2826ea90c.tar.xz
u-boot-bc0571fc1067ff8a8fd16990ae65c1a2826ea90c.zip
net: cosmetic: Fix checkpatch.pl failures in net.c
Finish eliminating CamelCase from net.c and other failures Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/netconsole.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c
index c2e0184611..31042a6b6b 100644
--- a/drivers/net/netconsole.c
+++ b/drivers/net/netconsole.c
@@ -113,7 +113,7 @@ static int refresh_settings_from_env(void)
}
/**
- * Called from NetLoop in net/net.c before each packet
+ * Called from net_loop in net/net.c before each packet
*/
void nc_start(void)
{
@@ -121,7 +121,7 @@ void nc_start(void)
if (!output_packet_len || memcmp(nc_ether, net_null_ethaddr, 6)) {
/* going to check for input packet */
net_set_udp_handler(nc_handler);
- NetSetTimeout(net_timeout, nc_timeout_handler);
+ net_set_timeout_handler(net_timeout, nc_timeout_handler);
} else {
/* send arp request */
uchar *pkt;
@@ -188,7 +188,7 @@ static void nc_send_packet(const char *buf, int len)
output_packet = buf;
output_packet_len = len;
input_recursion = 1;
- NetLoop(NETCONS); /* wait for arp reply and send packet */
+ net_loop(NETCONS); /* wait for arp reply and send packet */
input_recursion = 0;
output_packet_len = 0;
return;
@@ -232,7 +232,7 @@ static int nc_stdio_start(struct stdio_dev *dev)
/*
* Initialize the static IP settings and buffer pointers
- * incase we call net_send_udp_packet before NetLoop
+ * incase we call net_send_udp_packet before net_loop
*/
net_init();
@@ -277,7 +277,7 @@ static int nc_stdio_getc(struct stdio_dev *dev)
net_timeout = 0; /* no timeout */
while (!input_size)
- NetLoop(NETCONS);
+ net_loop(NETCONS);
input_recursion = 0;
@@ -307,7 +307,7 @@ static int nc_stdio_tstc(struct stdio_dev *dev)
input_recursion = 1;
net_timeout = 1;
- NetLoop(NETCONS); /* kind of poll */
+ net_loop(NETCONS); /* kind of poll */
input_recursion = 0;