Skip to contentSkip to conversation

net driver updates for .27

PATCH In review Jeff Garzik 2 participants 2 messages Jun 18, 2008

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

PATCH 1/1 net driver updates for .27

Please pull from 'davem-next' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git davem-next

to receive the following updates:

 Documentation/networking/bonding.txt  |   14 +-
 MAINTAINERS                           |   18 +-
 drivers/net/Kconfig                   |    1 -
 drivers/net/Makefile                  |    1 -
 drivers/net/bonding/bond_main.c       |   66 +-
 drivers/net/bonding/bond_sysfs.c      |   22 +-
 drivers/net/bonding/bonding.h         |    4 +-
 drivers/net/ibm_emac/Kconfig          |   70 -
 drivers/net/ibm_emac/Makefile         |   11 -
 drivers/net/ibm_emac/ibm_emac.h       |  329 ---
 drivers/net/ibm_emac/ibm_emac_core.c  | 2263 ----------------
 drivers/net/ibm_emac/ibm_emac_core.h  |  222 --
 drivers/net/ibm_emac/ibm_emac_debug.c |  211 --
 drivers/net/ibm_emac/ibm_emac_debug.h |   62 -
 drivers/net/ibm_emac/ibm_emac_mal.c   |  570 ----
 drivers/net/ibm_emac/ibm_emac_mal.h   |  267 --
 drivers/net/ibm_emac/ibm_emac_phy.c   |  398 ---
 drivers/net/ibm_emac/ibm_emac_phy.h   |   80 -
 drivers/net/ibm_emac/ibm_emac_rgmii.c |  200 --
 drivers/net/ibm_emac/ibm_emac_rgmii.h |   64 -
 drivers/net/ibm_emac/ibm_emac_tah.c   |  110 -
 drivers/net/ibm_emac/ibm_emac_tah.h   |   87 -
 drivers/net/ibm_emac/ibm_emac_zmii.c  |  253 --
 drivers/net/ibm_emac/ibm_emac_zmii.h  |   82 -
 drivers/net/mv643xx_eth.c             | 4557 ++++++++++++++-------------------
 drivers/net/sky2.c                    |   66 +-
 drivers/net/sky2.h                    |    1 +
 include/linux/mv643xx_eth.h           |   65 +-
 include/linux/netdevice.h             |    4 +
 include/linux/notifier.h              |    1 +
 net/core/dev.c                        |    6 +
 net/core/net-sysfs.c                  |   13 +
 32 files changed, 2060 insertions(+), 8058 deletions(-)
 delete mode 100644 drivers/net/ibm_emac/Kconfig
 delete mode 100644 drivers/net/ibm_emac/Makefile
 delete mode 100644 drivers/net/ibm_emac/ibm_emac.h
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_core.c
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_core.h
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_debug.c
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_debug.h
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_mal.c
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_mal.h
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_phy.c
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_phy.h
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_rgmii.c
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_rgmii.h
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_tah.c
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_tah.h
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_zmii.c
 delete mode 100644 drivers/net/ibm_emac/ibm_emac_zmii.h

Dale Farnsworth (1):
mv643xx_eth: new maintainer

Jay Vosburgh (2):
bonding: Rework / fix multiple gratuitous ARP support
bonding: Allow setting max_bonds to zero

Jeff Kirsher (1):
MAINTAINERS

Josh Boyer (1):
ibm_emac: Remove the ibm_emac driver

Lennert Buytenhek (38):
mv643xx_eth: reverse topological sort of functions
mv643xx_eth: trim unnecessary includes
mv643xx_eth: shorten reg names
mv643xx_eth: get rid of individual port config register bit defines
mv643xx_eth: get rid of individual port config extend register bit defines
mv643xx_eth: delete unused SDMA config register bit defines
mv643xx_eth: delete unused port serial control register bit defines
mv643xx_eth: nuke port status register bit defines
mv643xx_eth: remove unused DESC_SIZE define
mv643xx_eth: clarify irq masking and unmasking
mv643xx_eth: move PHY wait defines into callers
mv643xx_eth: get rid of RX_BUF_OFFSET
mv643xx_eth: move MIB offset defines into their only user
mv643xx_eth: remove port serial status register bit defines
mv643xx_eth: clean up rx/tx descriptor field defines
mv643xx_eth: get rid of ETH_/ethernet_/eth_ prefixes
mv643xx_eth: use 'mv643xx_eth_' prefix consistently
mv643xx_eth: kill superfluous comments
mv643xx_eth: kill ->rx_resource_err
mv643xx_eth: get rid of hungarian variable naming
mv643xx_eth: move port_receive() into its only caller
mv643xx_eth: move rx_return_buff() into its only caller
mv643xx_eth: kill FUNC_RET_STATUS/pkt_info
mv643xx_eth: kill private unused instance of struct net_device_stats
mv643xx_eth: massively simplify multicast address crc8 computation
mv643xx_eth: split out rx queue state
mv643xx_eth: split out tx queue state
mv643xx_eth: remove write-only interrupt coalescing variables
mv643xx_eth: general cleanup
mv643xx_eth: add tx rate control
mv643xx_eth: allow multiple RX queues
mv643xx_eth: allow multiple TX queues
mv643xx_eth: work around TX hang hardware issue
mv643xx_eth: detect extended rx coal register field
mv643xx_eth: detect alternate TX BW control register location
mv643xx_eth: be more agressive about RX refill
mv643xx_eth: add PHY-less mode
mv643xx_eth: update driver version and author fields

Or Gerlitz (3):
net/core: add NETDEV_BONDING_FAILOVER event
bonding: bond_change_active_slave() cleanup under active-backup
bonding: deliver netdev event for fail-over under the active-backup mode

Stephen Hemminger (5):
sky2: phy setup changes
sky2: chip version printout
sky2: use DEFINE_PCI_DEVICE_TABLE
sky2: 88E8057 chip support
sky2: version 1.22

Documentation/networking/bonding.txt +13 -1
index 8e6b8d3..7fa7fe7 100644
@@ -376,7 +376,8 @@ max_bonds
 	Specifies the number of bonding devices to create for this
 	instance of the bonding driver.  E.g., if max_bonds is 3, and
 	the bonding driver is not already loaded, then bond0, bond1
-	and bond2 will be created.  The default value is 1.
+	and bond2 will be created.  The default value is 1.  Specifying
+	a value of 0 will load bonding, but will not create any devices.
 
 miimon
 
@@ -539,6 +540,17 @@ mode
 		swapped with the new curr_active_slave that was
 		chosen.
 
+num_grat_arp
+
+	Specifies the number of gratuitous ARPs to be issued after a
+	failover event.  One gratuitous ARP is issued immediately after
+	the failover, subsequent ARPs are sent at a rate of one per link
+	monitor interval (arp_interval or miimon, whichever is active).
+
+	The valid range is 0 - 255; the default value is 1.  This option
+	affects only the active-backup mode.  This option was added for
+	bonding version 3.3.0.
+
 primary
 
 	A string (eth0, eth2, etc) specifying which slave is the
MAINTAINERS +5 -13
index cd587ee..d0ea6ec 100644
@@ -2147,6 +2147,8 @@ P:	Jesse Brandeburg
 M:	[email protected]
 P:	Bruce Allan
 M:	[email protected]
+P:	PJ Waskiewicz
+M:	[email protected]
 P:	John Ronciak
 M:	[email protected]
 L:	[email protected]
@@ -2690,12 +2692,10 @@ L:	[email protected]
 S:	Maintained
 
 MARVELL MV643XX ETHERNET DRIVER
-P:	Dale Farnsworth
-M:	[email protected]
-P:	Manish Lachwani
-M:	[email protected]
+P:	Lennert Buytenhek
+M:	[email protected]
 L:	[email protected]
-S:	Odd Fixes for 2.4; Maintained for 2.6.
+S:	Supported
 
 MATROX FRAMEBUFFER DRIVER
 P:	Petr Vandrovec
@@ -3233,14 +3233,6 @@ L:	[email protected]
 T:	git git.infradead.org/battery-2.6.git
 S:	Maintained
 
-POWERPC 4xx EMAC DRIVER
-P:	Eugene Surovegin
-M:	[email protected]
-W:	http://kernel.ebshome.net/emac/
-L:	[email protected]
-L:	[email protected]
-S:	Maintained
-
 PNP SUPPORT
 P:	Adam Belay
 M:	[email protected]
drivers/net/Kconfig +0 -1
index 20b5367..0e0f669 100644
@@ -1255,7 +1255,6 @@ config IBMVETH
 	  To compile this driver as a module, choose M here. The module will
 	  be called ibmveth.
 
-source "drivers/net/ibm_emac/Kconfig"
 source "drivers/net/ibm_newemac/Kconfig"
 
 config NET_PCI
drivers/net/Makefile +0 -1
index c96fe20..c9faa46 100644
@@ -4,7 +4,6 @@
 
 obj-$(CONFIG_E1000) += e1000/
 obj-$(CONFIG_E1000E) += e1000e/
-obj-$(CONFIG_IBM_EMAC) += ibm_emac/
 obj-$(CONFIG_IBM_NEW_EMAC) += ibm_newemac/
 obj-$(CONFIG_IGB) += igb/
 obj-$(CONFIG_IXGBE) += ixgbe/
drivers/net/bonding/bond_main.c +37 -29

127 lines not on this page · raw message

drivers/net/bonding/bond_sysfs.c +3 -19
index dd265c6..6caac0f 100644
@@ -53,7 +53,6 @@ extern struct bond_parm_tbl arp_validate_tbl[];
 extern struct bond_parm_tbl fail_over_mac_tbl[];
 
 static int expected_refcount = -1;
-static struct class *netdev_class;
 /*--------------------------- Data Structures -----------------------------*/
 
 /* Bonding sysfs lock.  Why can't we just use the subsystem lock?
@@ -1447,19 +1446,9 @@ static struct attribute_group bonding_group = {
  */
 int bond_create_sysfs(void)
 {
-	int ret = 0;
-	struct bonding *firstbond;
-
-	/* get the netdev class pointer */
-	firstbond = container_of(bond_dev_list.next, struct bonding, bond_list);
-	if (!firstbond)
-		return -ENODEV;
-
-	netdev_class = firstbond->dev->dev.class;
-	if (!netdev_class)
-		return -ENODEV;
+	int ret;
 
-	ret = class_create_file(netdev_class, &class_attr_bonding_masters);
+	ret = netdev_class_create_file(&class_attr_bonding_masters);
 	/*
 	 * Permit multiple loads of the module by ignoring failures to
 	 * create the bonding_masters sysfs file.  Bonding devices
@@ -1478,10 +1467,6 @@ int bond_create_sysfs(void)
 			printk(KERN_ERR
 			       "network device named %s already exists in sysfs",
 			       class_attr_bonding_masters.attr.name);
-		else {
-			netdev_class = NULL;
-			return 0;
-		}
 	}
 
 	return ret;
@@ -1493,8 +1478,7 @@ int bond_create_sysfs(void)
  */
 void bond_destroy_sysfs(void)
 {
-	if (netdev_class)
-		class_remove_file(netdev_class, &class_attr_bonding_masters);
+	netdev_class_remove_file(&class_attr_bonding_masters);
 }
 
 /*
drivers/net/bonding/bonding.h +2 -2
index 89fd996..fb730ec 100644
@@ -22,8 +22,8 @@
 #include "bond_3ad.h"
 #include "bond_alb.h"
 
-#define DRV_VERSION	"3.2.5"
-#define DRV_RELDATE	"March 21, 2008"
+#define DRV_VERSION	"3.3.0"
+#define DRV_RELDATE	"June 10, 2008"
 #define DRV_NAME	"bonding"
 #define DRV_DESCRIPTION	"Ethernet Channel Bonding Driver"
 
drivers/net/ibm_emac/Kconfig deleted +0 -70

70 lines not on this page · raw message

drivers/net/ibm_emac/Makefile deleted +0 -11
deleted file mode 100644
index f98ddf0..0000000
@@ -1,11 +0,0 @@
-#
-# Makefile for the PowerPC 4xx on-chip ethernet driver
-#
-
-obj-$(CONFIG_IBM_EMAC) += ibm_emac.o
-
-ibm_emac-objs := ibm_emac_mal.o ibm_emac_core.o ibm_emac_phy.o 
-ibm_emac-$(CONFIG_IBM_EMAC_ZMII) += ibm_emac_zmii.o
-ibm_emac-$(CONFIG_IBM_EMAC_RGMII) += ibm_emac_rgmii.o
-ibm_emac-$(CONFIG_IBM_EMAC_TAH) += ibm_emac_tah.o
-ibm_emac-$(CONFIG_IBM_EMAC_DEBUG) += ibm_emac_debug.o
drivers/net/ibm_emac/ibm_emac.h deleted +0 -329

329 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_core.c deleted +0 -2263

2,263 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_core.h deleted +0 -222

66 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_debug.c deleted +0 -211

211 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_debug.h deleted +0 -62

62 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_mal.c deleted +0 -570

570 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_mal.h deleted +0 -267

267 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_phy.c deleted +0 -398

398 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_phy.h deleted +0 -80

80 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_rgmii.c deleted +0 -200

200 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_rgmii.h deleted +0 -64

64 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_tah.c deleted +0 -110

110 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_tah.h deleted +0 -87

87 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_zmii.c deleted +0 -253

253 lines not on this page · raw message

drivers/net/ibm_emac/ibm_emac_zmii.h deleted +0 -82

82 lines not on this page · raw message

drivers/net/mv643xx_eth.c +1885 -2672

4,557 lines not on this page · raw message

drivers/net/sky2.c +43 -23

66 lines not on this page · raw message

drivers/net/sky2.h +1 -0
index 1fa82bf..4d9c4a1 100644

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

include/linux/mv643xx_eth.h +47 -18

65 lines not on this page · raw message

include/linux/netdevice.h +4 -0
index f27fd20..9ccbfac 100644

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

include/linux/notifier.h +1 -0
index 0ff6224..bd3d72d 100644

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

net/core/dev.c +6 -0
index 68d8df0..0e45742 100644

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

net/core/net-sysfs.c +13 -0
index dccd737..3f79413 100644

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

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

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

maintainer
#1 lore raw

From: Jeff Garzik <[email protected]>
Date: Wed, 18 Jun 2008 00:20:45 -0400

Quoted 4 lines

Please pull from 'davem-next' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git davem-next

to receive the following updates:

Pulled and pushed back out ot net-next-2.6, thanks Jeff!