Skip to contentSkip to conversation

Update SFC net drivers

PATCH New Kieran Mansley 1 participant 1 message Jan 7, 2010 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 Update SFC net drivers

This patch against linux-2.6.18-xen.hg changest 974:aa133dee7792

(i) Update Solarflare Communications net driver to version 3.0.2.2074 (ii) Bring net driver in Xen tree in line with kernel.org tree (iii) Add support for new SFC9000 series NICs

Update Solarflare Communications net driver to version 3.0.2.2074 Bring net driver in Xen tree in line with kernel.org tree Add support for new SFC9000 series NICs

MAINTAINERS +5 -4
diff -r aa133dee7792 MAINTAINERS
@@ -2559,11 +2559,12 @@
 S:	Supported
 
 SFC NETWORK DRIVER
-P:	Steve Hodgson
-P:	Ben Hutchings
-P:	Robert Stonehouse
-M:	[email protected]
+M:	Solarflare linux maintainers <[email protected]>
+M:	Steve Hodgson <[email protected]>
+M:	Ben Hutchings <[email protected]>
+L:	[email protected]
 S:	Supported
+F:	drivers/net/sfc/
 
 SGI VISUAL WORKSTATION 320 AND 540
 P:	Andrey Panin
drivers/net/sfc/Kconfig +20 -16
diff -r aa133dee7792 drivers/net/sfc/Kconfig
@@ -1,35 +1,39 @@
 config SFC
-	tristate "Solarflare Solarstorm SFC4000 support"
+	tristate "Solarflare Solarstorm SFC4000/SFC9000-family support"
 	depends on PCI && INET
-	select MII
 	select CRC32
+	select I2C
+	select I2C_ALGOBIT
 	help
 	  This driver supports 10-gigabit Ethernet cards based on
-	  the Solarflare Communications Solarstorm SFC4000 controller.
+	  the Solarflare Communications Solarstorm SFC4000 and
+	  SFC9000-family controllers.
 
 	  To compile this driver as a module, choose M here.  The module
 	  will be called sfc.
 
 config SFC_DEBUGFS
-	bool "Solarflare Solarstorm SFC4000 debugging support"
-	depends on SFC && DEBUG_FS
-	default N
-	help
-	  This option creates an "sfc" subdirectory of debugfs with
-	  debugging information for the SFC4000 driver.
+        bool "Solarflare Solarstorm SFC4000 debugging support"
+        depends on SFC && DEBUG_FS
+        default N
+        help
+          This option creates an "sfc" subdirectory of debugfs with
+          debugging information for the SFC4000 driver.
 
-	  If unsure, say N.
+          If unsure, say N.
 
 config SFC_MTD
-	depends on SFC && MTD && MTD_PARTITIONS
-	tristate "Solarflare Solarstorm SFC4000 flash/EEPROM support"
+	bool "Solarflare Solarstorm SFC4000/SFC9000-family MTD support"
+	depends on SFC && MTD && !(SFC=y && MTD=m)
+	default y
 	help
-	  This module exposes the on-board flash and/or EEPROM memory as
-	  MTD devices (e.g. /dev/mtd1).  This makes it possible to upload a
-	  new boot ROM to the NIC.
+	  This exposes the on-board flash and/or EEPROM memory as MTD
+	  devices (e.g. /dev/mtd1).  This makes it possible to upload
+	  new boot code to the NIC.
 
 config SFC_RESOURCE
         depends on SFC && X86
-        tristate "Solarflare Solarstorm SFC4000 resource driver"
+        tristate "Solarflare Solarstorm SFC4000/SFC9000 resource driver"
         help
           This module provides the SFC resource manager driver.
+
drivers/net/sfc/Makefile +9 -8
diff -r aa133dee7792 drivers/net/sfc/Makefile
@@ -1,13 +1,14 @@
-sfc-y			+= efx.o falcon.o tx.o rx.o mentormac.o falcon_gmac.o \
-			   falcon_xmac.o alaska.o i2c-direct.o selftest.o \
-			   driverlink.o	ethtool.o xfp_phy.o mdio_10g.o \
-			   txc43128_phy.o tenxpress.o lm87_support.o boards.o \
-			   sfe4001.o pm8358_phy.o null_phy.o kernel_compat.o
+
+sfc-y			+= efx.o nic.o falcon.o siena.o tx.o rx.o \
+			   falcon_gmac.o falcon_xmac.o mcdi_mac.o selftest.o \
+			   driverlink.o ethtool.o qt202x_phy.o mdio_10g.o \
+			   tenxpress.o falcon_boards.o mcdi.o linux_mdio.o \
+			   mcdi_phy.o ioctl.o kernel_compat.o lm87.o lm90.o
+sfc-$(CONFIG_SFC_MTD)	+= mtd.o
 sfc-$(CONFIG_SFC_DEBUGFS) += debugfs.o
+
 obj-$(CONFIG_SFC)	+= sfc.o
 
-sfc_mtd-y = mtd.o
-obj-$(CONFIG_SFC_MTD)	+= sfc_mtd.o
-
 obj-$(CONFIG_SFC_RESOURCE) += sfc_resource/
 
+EXTRA_CFLAGS += -DEFX_USE_KCOMPAT=1 -Wno-unused-label
drivers/net/sfc/alaska.c deleted +0 -159

159 lines not on this page · raw message

drivers/net/sfc/autocompat.h new file +98 -0

98 lines not on this page · raw message

drivers/net/sfc/bitfield.h +129 -116

321 lines not on this page · raw message

drivers/net/sfc/boards.c deleted +0 -528

528 lines not on this page · raw message

drivers/net/sfc/boards.h deleted +0 -51

51 lines not on this page · raw message

drivers/net/sfc/config.h deleted +0 -1
diff -r aa133dee7792 drivers/net/sfc/config.h
@@ -1,1 +0,0 @@
-/* SFC config options can go here */
drivers/net/sfc/debugfs.c +144 -80

429 lines not on this page · raw message

drivers/net/sfc/debugfs.h +3 -135

155 lines not on this page · raw message

drivers/net/sfc/driverlink.c +126 -288

623 lines not on this page · raw message

drivers/net/sfc/driverlink.h +6 -53

93 lines not on this page · raw message

drivers/net/sfc/driverlink_api.h +127 -380

449 lines not on this page · raw message

drivers/net/sfc/efx.c +1341 -968

2,309 lines not on this page · raw message

drivers/net/sfc/efx.h +81 -34

115 lines not on this page · raw message

drivers/net/sfc/efx_ioctl.h new file +71 -0

71 lines not on this page · raw message

drivers/net/sfc/enum.h +99 -54

153 lines not on this page · raw message

drivers/net/sfc/ethtool.c +398 -177

575 lines not on this page · raw message

drivers/net/sfc/ethtool.h deleted +0 -44

44 lines not on this page · raw message

drivers/net/sfc/extraversion.h deleted +0 -4
diff -r aa133dee7792 drivers/net/sfc/extraversion.h

Lines of this file are not shown. View the raw message.

drivers/net/sfc/falcon.c +1457 -2924

4,381 lines not on this page · raw message

drivers/net/sfc/falcon.h deleted +0 -154

154 lines not on this page · raw message

drivers/net/sfc/falcon_boards.c new file +739 -0

739 lines not on this page · raw message

drivers/net/sfc/falcon_gmac.c +107 -197

304 lines not on this page · raw message

drivers/net/sfc/falcon_hwdefs.h deleted +0 -1638

1,638 lines not on this page · raw message

drivers/net/sfc/falcon_io.h deleted +0 -260

260 lines not on this page · raw message

drivers/net/sfc/falcon_xmac.c +187 -545

732 lines not on this page · raw message

drivers/net/sfc/gmii.h deleted +0 -212

212 lines not on this page · raw message

drivers/net/sfc/i2c-direct.c deleted +0 -398

398 lines not on this page · raw message

drivers/net/sfc/i2c-direct.h deleted +0 -108

108 lines not on this page · raw message

drivers/net/sfc/io.h new file +260 -0

260 lines not on this page · raw message

drivers/net/sfc/ioctl.c new file +70 -0

70 lines not on this page · raw message

drivers/net/sfc/kernel_compat.c +452 -23

475 lines not on this page · raw message

drivers/net/sfc/kernel_compat.h +1115 -76

1,191 lines not on this page · raw message

drivers/net/sfc/linux_mdio.c new file +430 -0

430 lines not on this page · raw message

drivers/net/sfc/linux_mdio.h new file +347 -0

347 lines not on this page · raw message

drivers/net/sfc/lm87.c new file +959 -0

959 lines not on this page · raw message

drivers/net/sfc/lm87_support.c deleted +0 -295

295 lines not on this page · raw message

drivers/net/sfc/lm87_support.h deleted +0 -58

58 lines not on this page · raw message

drivers/net/sfc/lm90.c new file +829 -0

829 lines not on this page · raw message

drivers/net/sfc/mac.h +7 -22
diff -r aa133dee7792 drivers/net/sfc/mac.h

Lines of this file are not shown. View the raw message.

drivers/net/sfc/mcdi.c new file +1178 -0

1,178 lines not on this page · raw message

drivers/net/sfc/mcdi.h new file +131 -0

131 lines not on this page · raw message

drivers/net/sfc/mcdi_mac.c new file +152 -0

152 lines not on this page · raw message

drivers/net/sfc/mcdi_pcol.h new file +1729 -0

1,729 lines not on this page · raw message

drivers/net/sfc/mcdi_phy.c new file +616 -0

616 lines not on this page · raw message

drivers/net/sfc/mdio_10g.c +199 -251

450 lines not on this page · raw message

drivers/net/sfc/mdio_10g.h +56 -239

295 lines not on this page · raw message

drivers/net/sfc/mentormac.c deleted +0 -506

506 lines not on this page · raw message

drivers/net/sfc/mtd.c +596 -448

1,044 lines not on this page · raw message

drivers/net/sfc/net_driver.h +344 -393

737 lines not on this page · raw message

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

1,785 lines not on this page · raw message

drivers/net/sfc/nic.h new file +307 -0

307 lines not on this page · raw message

drivers/net/sfc/null_phy.c +74 -38

112 lines not on this page · raw message

drivers/net/sfc/phy.c deleted +0 -28
diff -r aa133dee7792 drivers/net/sfc/phy.c

Lines of this file are not shown. View the raw message.

drivers/net/sfc/phy.h +27 -56

83 lines not on this page · raw message

drivers/net/sfc/pm8358_phy.c deleted +0 -204

204 lines not on this page · raw message

drivers/net/sfc/qt202x_phy.c new file +478 -0

478 lines not on this page · raw message

drivers/net/sfc/regs.h new file +3168 -0

3,168 lines not on this page · raw message

drivers/net/sfc/rx.c +219 -615

834 lines not on this page · raw message

drivers/net/sfc/rx.h deleted +0 -61

61 lines not on this page · raw message

drivers/net/sfc/selftest.c +480 -439

919 lines not on this page · raw message

drivers/net/sfc/selftest.h +18 -31

49 lines not on this page · raw message

drivers/net/sfc/sfe4001.c deleted +0 -315

315 lines not on this page · raw message

drivers/net/sfc/siena.c new file +743 -0

743 lines not on this page · raw message

drivers/net/sfc/spi.h +43 -135

178 lines not on this page · raw message

drivers/net/sfc/tenxpress.c +725 -516

1,241 lines not on this page · raw message

drivers/net/sfc/tx.c +839 -138

977 lines not on this page · raw message

drivers/net/sfc/tx.h deleted +0 -41

41 lines not on this page · raw message

drivers/net/sfc/txc43128_phy.c +170 -256

426 lines not on this page · raw message

drivers/net/sfc/workarounds.h +29 -51

80 lines not on this page · raw message

drivers/net/sfc/xenpack.h deleted +0 -80

80 lines not on this page · raw message

drivers/net/sfc/xfp_phy.c deleted +0 -203

203 lines not on this page · raw message

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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

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