Explorar o código

net: Rename eth.c to eth_lecacy.c

Rename this file to make it clear it is for the old networking drivers
and not for use with driver model.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Simon Glass %!s(int64=9) %!d(string=hai) anos
pai
achega
c4998f9634
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      net/Makefile
  2. 0 0
      net/eth_legacy.c

+ 1 - 1
net/Makefile

@@ -15,7 +15,7 @@ obj-$(CONFIG_CMD_DNS)  += dns.o
 ifdef CONFIG_DM_ETH
 obj-$(CONFIG_CMD_NET)  += eth-uclass.o
 else
-obj-$(CONFIG_CMD_NET)  += eth.o
+obj-$(CONFIG_CMD_NET)  += eth_legacy.o
 endif
 obj-$(CONFIG_CMD_NET)  += eth_common.o
 obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o

+ 0 - 0
net/eth.c → net/eth_legacy.c