cxgb4: Move ethtool related code to a separate file
Subsystems (3)
PATCH v2 1/1 cxgb4: Move ethtool related code to a separate file
Signed-off-by Hariprasad Shenai <[email protected]>
---
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
@@ -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.
From: Hariprasad Shenai <[email protected]>
Date: Mon, 6 Apr 2015 20:23:23 +0530
Quoted 3 lines
Signed-off-by Hariprasad Shenai <[email protected]>---
V2: Update copyright year and make ethtool stats string const
Applied, thanks.