diff options
author | Matteo Croce <rootkit85@yahoo.it> | 2008-06-12 22:33:48 +0000 |
---|---|---|
committer | Matteo Croce <rootkit85@yahoo.it> | 2008-06-12 22:33:48 +0000 |
commit | d1c097e3d033d1f8545d8a9b5ae82a224434a475 (patch) | |
tree | 3af6b947e2feaedcc7416dd5f5df01d485cc099e /target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff | |
parent | e8a8d5811d8e3716a0f66769242ab564c4d00d14 (diff) | |
download | upstream-d1c097e3d033d1f8545d8a9b5ae82a224434a475.tar.gz upstream-d1c097e3d033d1f8545d8a9b5ae82a224434a475.tar.bz2 upstream-d1c097e3d033d1f8545d8a9b5ae82a224434a475.zip |
ar7: refresh patches
SVN-Revision: 11452
Diffstat (limited to 'target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff')
-rw-r--r-- | target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff b/target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff index b84cbf0366..16e21f84dd 100644 --- a/target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff +++ b/target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff @@ -1,18 +1,16 @@ -Index: linux-2.6.25.4/drivers/net/cpmac.c -=================================================================== ---- linux-2.6.25.4.orig/drivers/net/cpmac.c -+++ linux-2.6.25.4/drivers/net/cpmac.c -@@ -936,7 +936,8 @@ static void cpmac_adjust_link(struct net +--- a/drivers/net/cpmac.c ++++ b/drivers/net/cpmac.c +@@ -947,7 +947,8 @@ int new_state = 0; spin_lock(&priv->lock); - if (priv->phy->link) { -+ if (1 /* priv->phy->link */ ) { ++ if (1 /* priv->phy->link */) { + netif_carrier_on(dev); netif_start_queue(dev); if (priv->phy->duplex != priv->oldduplex) { new_state = 1; -@@ -948,11 +949,11 @@ static void cpmac_adjust_link(struct net +@@ -959,11 +960,11 @@ priv->oldspeed = priv->phy->speed; } |