Message ID | 1453067522-610-8-git-send-email-sjg@chromium.org |
---|---|
State | Accepted |
Commit | c4998f9634a023d498f647fa0f7fea7b08b22852 |
Delegated to: | Joe Hershberger |
Headers | show |
On Mon, Jan 18, 2016 at 5:52 AM, Simon Glass <sjg@chromium.org> wrote: > 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> > --- > > net/Makefile | 2 +- > net/{eth.c => eth_legacy.c} | 0 > 2 files changed, 1 insertion(+), 1 deletion(-) > rename net/{eth.c => eth_legacy.c} (100%) > Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
On Sun, Jan 17, 2016 at 3:52 PM, Simon Glass <sjg@chromium.org> wrote: > 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> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Hi Simon, https://patchwork.ozlabs.org/patch/569319/ was applied to u-boot-net.git. Thanks! -Joe
diff --git a/net/Makefile b/net/Makefile index 943de14..f03d608 100644 --- a/net/Makefile +++ b/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 diff --git a/net/eth.c b/net/eth_legacy.c similarity index 100% rename from net/eth.c rename to net/eth_legacy.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> --- net/Makefile | 2 +- net/{eth.c => eth_legacy.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename net/{eth.c => eth_legacy.c} (100%)