[ar7] refresh kernel patches
[openwrt/svn-archive/archive.git] / target / linux / ar7 / patches-2.6.24 / 900-temporary_cpmac_hack.diff
index 0a2224f683ff8a1a7fed5c1e32864dff57317bb3..dfd1a67479d3bc8f6a0f6c6f7e51f330b06a04ab 100644 (file)
@@ -1,6 +1,8 @@
---- linux-2.6.24.2/drivers/net/cpmac.c 2008-03-10 22:13:50.000000000 +0100
-+++ linux-2.6.24.2/drivers/net/cpmac.c 2008-03-05 15:13:27.000000000 +0100
-@@ -841,7 +841,8 @@
+Index: linux-2.6.24.7/drivers/net/cpmac.c
+===================================================================
+--- linux-2.6.24.7.orig/drivers/net/cpmac.c
++++ linux-2.6.24.7/drivers/net/cpmac.c
+@@ -936,7 +936,8 @@ static void cpmac_adjust_link(struct net
        int new_state = 0;
  
        spin_lock(&priv->lock);
@@ -10,7 +12,7 @@
                netif_start_queue(dev);
                if (priv->phy->duplex != priv->oldduplex) {
                        new_state = 1;
-@@ -853,11 +854,11 @@
+@@ -948,11 +949,11 @@ static void cpmac_adjust_link(struct net
                        priv->oldspeed = priv->phy->speed;
                }