Skip to contentSkip to conversation

cxgb4: Move ethtool related code to a separate file

PATCH Applied Hariprasad Shenai 2 participants 2 messages Apr 6, 2015 – Apr 7, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 cxgb4: Move ethtool related code to a separate file

---
V2: Update copyright year and make ethtool stats string const

 drivers/net/ethernet/chelsio/cxgb4/Makefile        |    2 +-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h         |   47 +
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c |  915 +++++++++++
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c    | 1618 +-------------------
 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c         |  728 +++++++++
 5 files changed, 1702 insertions(+), 1608 deletions(-)
 create mode 100644 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
drivers/net/ethernet/chelsio/cxgb4/Makefile +1 -1
index 07d9b68..ace0ab9 100644
@@ -4,7 +4,7 @@
 
 obj-$(CONFIG_CHELSIO_T4) += cxgb4.o
 
-cxgb4-objs := cxgb4_main.o l2t.o t4_hw.o sge.o clip_tbl.o
+cxgb4-objs := cxgb4_main.o l2t.o t4_hw.o sge.o clip_tbl.o cxgb4_ethtool.o
 cxgb4-$(CONFIG_CHELSIO_T4_DCB) +=  cxgb4_dcb.o
 cxgb4-$(CONFIG_CHELSIO_T4_FCOE) +=  cxgb4_fcoe.o
 cxgb4-$(CONFIG_DEBUG_FS) += cxgb4_debugfs.o
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h +47 -0

77 lines not on this page · raw message

drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c new file +915 -0

915 lines not on this page · raw message

drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +11 -1607

1,691 lines not on this page · raw message

drivers/net/ethernet/chelsio/cxgb4/t4_hw.c +728 -0

309 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.3.4

Part of the diff is not shown here. View the raw message.