27 Apr, 2018
1 commit
-
Add return value check
Coverity 392391
Signed-off-by: Peng Fan
(cherry picked from commit 3f8052264b97b0bf87452876307ca115b7a518a3)
16 Aug, 2017
3 commits
-
Rename this function for consistency with env_get().
Signed-off-by: Simon Glass
-
We are now using an env_ prefix for environment functions. Rename these
two functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking a
warning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass -
Rename this function for consistency with env_set().
Signed-off-by: Simon Glass
03 Jun, 2017
1 commit
-
Checking if dev is NULL after dereferencing it does not make sense.
Signed-off-by: Heinrich Schuchardt
Acked-by: Joe Hershberger
08 Feb, 2017
2 commits
-
Currently, we print that the MAC from the SROM does not match. It can be
many forms of ROM, so lets drop the S.Signed-off-by: Olliver Schinagl
Acked-by: Joe Hershberger -
Commit 674bb249825a ("net: cosmetic: Replace magic numbers in arp.c with
constants") introduced a nice define to replace the magic value 6 for
the ethernet hardware address. Replace more hardcoded instances of 6
which really reference the ARP_HLEN (iow the MAC/Hardware/Ethernet
address).Signed-off-by: Olliver Schinagl
Acked-by: Joe Hershberger
08 Nov, 2016
1 commit
-
Use random ethernet address if the ethernet address found
is invalid, not zero and config for random address
is defined.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
Acked-by: Joe Hershberger
14 Oct, 2016
1 commit
-
If mac-address is changed using "setenv ethaddr ...." command the new
mac-adress also must be written into the responsible ethernet driver.Signed-off-by: Hannes Schmelzer
Acked-by: Joe Hershberger
06 Feb, 2016
1 commit
-
This fixes the following error when building microblaze-generic:
net/eth-uclass.c: In function 'eth_post_probe':
net/eth-uclass.c:466:18: error: 'gd' undeclared (first use in this function)
ops->start += gd->reloc_off;Fixes: db9391e1 ("net: Move driver-model code into its own file")
Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
29 Jan, 2016
1 commit
-
Every other uclass is in its own file. Create a new eth-uclass.c file and
move the driver-model code into it, so that networking is consistent.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Acked-by: Joe Hershberger