Skip to contentSkip to conversation

net driver fixes for 2.6.28-rc

PATCH In review Jeff Garzik 3 participants 5 messages Nov 3, 2008

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

PATCH 1/1 net driver fixes for 2.6.28-rc

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

to receive the following updates:

 drivers/net/Kconfig                |   18 +++++++++++++++---
 drivers/net/fs_enet/fs_enet-main.c |    6 ++++--
 drivers/net/mv643xx_eth.c          |    9 ++++++---
 3 files changed, 25 insertions(+), 8 deletions(-)

Alexey Dobriyan (1):
fs_enet: fix polling

Jeff Kirsher (1):
net: kconfig cleanup

Lennert Buytenhek (1):
mv643xx_eth: fix SMI bus access timeouts

drivers/net/Kconfig +15 -3
index f749b40..11f143f 100644
@@ -2010,9 +2010,13 @@ config IGB_LRO
 	  If in doubt, say N.
 
 config IGB_DCA
-	bool "Enable DCA"
+	bool "Direct Cache Access (DCA) Support"
 	default y
 	depends on IGB && DCA && !(IGB=y && DCA=m)
+	---help---
+	  Say Y here if you want to use Direct Cache Access (DCA) in the
+	  driver.  DCA is a method for warming the CPU cache before data
+	  is used, with the intent of lessening the impact of cache misses.
 
 source "drivers/net/ixp2000/Kconfig"
 
@@ -2437,9 +2441,13 @@ config IXGBE
 	  will be called ixgbe.
 
 config IXGBE_DCA
-	bool
+	bool "Direct Cache Access (DCA) Support"
 	default y
 	depends on IXGBE && DCA && !(IXGBE=y && DCA=m)
+	---help---
+	  Say Y here if you want to use Direct Cache Access (DCA) in the
+	  driver.  DCA is a method for warming the CPU cache before data
+	  is used, with the intent of lessening the impact of cache misses.
 
 config IXGB
 	tristate "Intel(R) PRO/10GbE support"
@@ -2489,9 +2497,13 @@ config MYRI10GE
 	  will be called myri10ge.
 
 config MYRI10GE_DCA
-	bool
+	bool "Direct Cache Access (DCA) Support"
 	default y
 	depends on MYRI10GE && DCA && !(MYRI10GE=y && DCA=m)
+	---help---
+	  Say Y here if you want to use Direct Cache Access (DCA) in the
+	  driver.  DCA is a method for warming the CPU cache before data
+	  is used, with the intent of lessening the impact of cache misses.
 
 config NETXEN_NIC
 	tristate "NetXen Multi port (1/10) Gigabit Ethernet NIC"
drivers/net/fs_enet/fs_enet-main.c +4 -2
index cb51c1f..a6f49d0 100644
@@ -1099,7 +1099,9 @@ static int __devinit fs_enet_probe(struct of_device *ofdev,
 	ndev->stop = fs_enet_close;
 	ndev->get_stats = fs_enet_get_stats;
 	ndev->set_multicast_list = fs_set_multicast_list;
-
+#ifdef CONFIG_NET_POLL_CONTROLLER
+	ndev->poll_controller = fs_enet_netpoll;
+#endif
 	if (fpi->use_napi)
 		netif_napi_add(ndev, &fep->napi, fs_enet_rx_napi,
 		               fpi->napi_weight);
@@ -1209,7 +1211,7 @@ static void __exit fs_cleanup(void)
 static void fs_enet_netpoll(struct net_device *dev)
 {
        disable_irq(dev->irq);
-       fs_enet_interrupt(dev->irq, dev, NULL);
+       fs_enet_interrupt(dev->irq, dev);
        enable_irq(dev->irq);
 }
 #endif
drivers/net/mv643xx_eth.c +6 -3
index a9c8c08..b9dcdbd 100644
@@ -1066,9 +1066,12 @@ static int smi_wait_ready(struct mv643xx_eth_shared_private *msp)
 		return 0;
 	}
 
-	if (!wait_event_timeout(msp->smi_busy_wait, smi_is_done(msp),
-				msecs_to_jiffies(100)))
-		return -ETIMEDOUT;
+	if (!smi_is_done(msp)) {
+		wait_event_timeout(msp->smi_busy_wait, smi_is_done(msp),
+				   msecs_to_jiffies(100));
+		if (!smi_is_done(msp))
+			return -ETIMEDOUT;
+	}
 
 	return 0;
 }
maintainer
#1 lore raw

From: Jeff Garzik <[email protected]>
Date: Mon, 3 Nov 2008 15:51:22 -0500

Quoted 5 lines

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

to receive the following updates:

Pulled, thanks a lot Jeff.

#2 lore raw
In reply to Jeff Garzik

Hi Jeff,

Quoted 9 lines

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

to receive the following updates:

drivers/net/Kconfig                |   18 +++++++++++++++---
drivers/net/fs_enet/fs_enet-main.c |    6 ++++--
drivers/net/mv643xx_eth.c          |    9 ++++++---
3 files changed, 25 insertions(+), 8 deletions(-)

are you also queuing patches for drivers/net/usb/hso.c, because the current state of that driver is fully broken. It oopses and shows up with a WLAN RFKILL switch instead of WWAN. Also it has some weird disconnect race with the TTY layer. Some patches have been posted, but seems that nobody has picked them up so far.

Regards

Marcel

maintainer
#3 lore raw

From: Marcel Holtmann <[email protected]>
Date: Mon, 3 Nov 2008 23:07:58 +0100

Quoted 5 lines

are you also queuing patches for drivers/net/usb/hso.c, because the current state of that driver is fully broken. It oopses and shows up with a WLAN RFKILL switch instead of WWAN. Also it has some weird disconnect race with the TTY layer. Some patches have been posted, but seems that nobody has picked them up so far.

The person submitting those patches is, frankly, creating a lot of confusion.

He can't clone my tree or pull from it, then Greg KH tries to take the fixes from him, and that doesn't go smoothly either.

#4 lore raw
In reply to Marcel Holtmann
Quoted 5 lines · Marcel Holtmann

Hi Jeff,

Quoted 3 lines

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

Quoted 8 lines
Quoted 6 lines

to receive the following updates:

drivers/net/Kconfig                |   18 +++++++++++++++---
drivers/net/fs_enet/fs_enet-main.c |    6 ++++--
drivers/net/mv643xx_eth.c          |    9 ++++++---
3 files changed, 25 insertions(+), 8 deletions(-)

are you also queuing patches for drivers/net/usb/hso.c, because the current state of that driver is fully broken. It oopses and shows up with a WLAN RFKILL switch instead of WWAN. Also it has some weird disconnect race with the TTY layer. Some patches have been posted, but seems that nobody has picked them up so far.

Last patch sent me was sent on 9/16 by Denis Joseph Barrow; I replied and never received a response after that.

Patches welcome...

I don't see any hso patches on
http://patchwork.ozlabs.org/project/netdev/list/ nor in my inbox, so I'm guessing that no one sent me or netdev any hso patches.

Jeff