mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:48:27 +02:00
ethernet driver fixup for ppc4xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24328 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e419e3e062
commit
fa9c65f417
@ -0,0 +1,26 @@
|
||||
From 811718f071bbd337a823b2827ca3ea2b7205d162 Mon Sep 17 00:00:00 2001
|
||||
From: David S. Miller <davem@davemloft.net>
|
||||
Date: Mon, 1 Nov 2010 08:49:51 -0700
|
||||
Subject: [PATCH] ibm_newemac: Remove netif_stop_queue() in emac_probe().
|
||||
|
||||
Touching the queue state before register_netdev is not
|
||||
allowed, and besides the queue state before ->open()
|
||||
is "don't care"
|
||||
|
||||
Reported-by: Josh Boyer <jwboyer@gmail.com>
|
||||
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
|
||||
Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||
---
|
||||
drivers/net/ibm_newemac/core.c | 1 -
|
||||
1 files changed, 0 insertions(+), 1 deletions(-)
|
||||
|
||||
--- a/drivers/net/ibm_newemac/core.c
|
||||
+++ b/drivers/net/ibm_newemac/core.c
|
||||
@@ -2871,7 +2871,6 @@ static int __devinit emac_probe(struct p
|
||||
SET_ETHTOOL_OPS(ndev, &emac_ethtool_ops);
|
||||
|
||||
netif_carrier_off(ndev);
|
||||
- netif_stop_queue(ndev);
|
||||
|
||||
err = register_netdev(ndev);
|
||||
if (err) {
|
Loading…
Reference in New Issue
Block a user