mirror of
https://xff.cz/git/u-boot/
synced 2025-10-18 00:11:48 +02:00
net: cosmetic: Clean up CDP variables and functions
Make a thorough pass through all variables and function names contained within cdp.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Simon Glass
parent
331db5a90f
commit
6aede5b750
@@ -518,8 +518,8 @@ extern struct in_addr net_ping_ip; /* the ip address to ping */
|
||||
|
||||
#if defined(CONFIG_CMD_CDP)
|
||||
/* when CDP completes these hold the return values */
|
||||
extern ushort CDPNativeVLAN; /* CDP returned native VLAN */
|
||||
extern ushort CDPApplianceVLAN; /* CDP returned appliance VLAN */
|
||||
extern ushort cdp_native_vlan; /* CDP returned native VLAN */
|
||||
extern ushort cdp_appliance_vlan; /* CDP returned appliance VLAN */
|
||||
|
||||
/*
|
||||
* Check for a CDP packet by examining the received MAC address field
|
||||
|
Reference in New Issue
Block a user