# \[PATCH net-next 01/15\]bnx2x: Rename bnx2x.c to bnx2x\_main.c

- From: Eilon Greenstein \<hidden\>
- Date: 2008-06-17 14:47:08 
- List: netdev
- Page: https://ratatoskr.run/netdev/2008/06/10801564
- Thread: https://ratatoskr.run/netdev/2008/06/10801564/t.md

```text
This patch is the rename of bnx2x.c to bnx2x_main.c. It is too big to be
sent as a regular patch but it boils down to a simple patch to the 
Makefile (below) and this git command:
git mv drivers/net/bnx2x.c drivers/net/bnx2x_main.c

The Makefile:
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index c96fe20..f4dbb0e 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -67,6 +67,7 @@ obj-$(CONFIG_FEALNX) += fealnx.o
 obj-$(CONFIG_TIGON3) += tg3.o
 obj-$(CONFIG_BNX2) += bnx2.o
 obj-$(CONFIG_BNX2X) += bnx2x.o
+bnx2x-objs := bnx2x_main.o
 spidernet-y += spider_net.o spider_net_ethtool.o
 obj-$(CONFIG_SPIDER_NET) += spidernet.o sungem_phy.o
 obj-$(CONFIG_GELIC_NET) += ps3_gelic.o


Signed-off-by: Eilon Greenstein <redacted>




```
