Skip to contentSkip to conversation

sfc: Move shared NIC code from falcon.c to new source file nic.c

PATCH Applied Ben Hutchings 2 participants 2 messages Nov 30, 2009

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

PATCH 7/12 sfc: Move shared NIC code from falcon.c to new source file nic.c

---
Looks huge, but it's pure code movement.

Ben.

 drivers/net/sfc/Makefile |    2 +-
 drivers/net/sfc/falcon.c | 1536 ---------------------------------------------
 drivers/net/sfc/nic.c    | 1548 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1549 insertions(+), 1537 deletions(-)
 create mode 100644 drivers/net/sfc/nic.c
drivers/net/sfc/Makefile +1 -1
index 7b52fe1..223106b 100644
@@ -1,4 +1,4 @@
-sfc-y			+= efx.o falcon.o tx.o rx.o falcon_gmac.o \
+sfc-y			+= efx.o nic.o falcon.o tx.o rx.o falcon_gmac.o \
 			   falcon_xmac.o selftest.o ethtool.o qt202x_phy.o \
 			   mdio_10g.o tenxpress.o falcon_boards.o
 sfc-$(CONFIG_SFC_MTD)	+= mtd.o
drivers/net/sfc/falcon.c +0 -1536

1,602 lines not on this page · raw message

drivers/net/sfc/nic.c new file +1548 -0

1,393 lines not on this page · raw message

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

Signature · 9 lines
1.6.5.3




-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

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