diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2009-06-23 13:29:23 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2009-06-23 13:29:23 +0000 |
commit | aafcab83642e9ab1cc53dc37f3494db7e350634e (patch) | |
tree | fc2c015f0f624eb2576b7920f581d66594f0c706 /target/linux/ar7/patches-2.6.26/900-temporary_cpmac_hack.diff | |
parent | 9f95ea363c93630ca369c05ee3b909601560c679 (diff) | |
download | mtk-20170518-aafcab83642e9ab1cc53dc37f3494db7e350634e.zip mtk-20170518-aafcab83642e9ab1cc53dc37f3494db7e350634e.tar.gz mtk-20170518-aafcab83642e9ab1cc53dc37f3494db7e350634e.tar.bz2 |
we don't support 2.6.26 for a long time now
SVN-Revision: 16544
Diffstat (limited to 'target/linux/ar7/patches-2.6.26/900-temporary_cpmac_hack.diff')
-rw-r--r-- | target/linux/ar7/patches-2.6.26/900-temporary_cpmac_hack.diff | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/ar7/patches-2.6.26/900-temporary_cpmac_hack.diff b/target/linux/ar7/patches-2.6.26/900-temporary_cpmac_hack.diff deleted file mode 100644 index 74b1775..0000000 --- a/target/linux/ar7/patches-2.6.26/900-temporary_cpmac_hack.diff +++ /dev/null @@ -1,27 +0,0 @@ ---- a/drivers/net/cpmac.c -+++ b/drivers/net/cpmac.c -@@ -948,7 +948,8 @@ static void cpmac_adjust_link(struct net - int new_state = 0; - - spin_lock(&priv->lock); -- if (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; -@@ -960,11 +961,11 @@ static void cpmac_adjust_link(struct net - priv->oldspeed = priv->phy->speed; - } - -- if (!priv->oldlink) { -+ /*if (!priv->oldlink) { - new_state = 1; -- priv->oldlink = 1; -+ priv->oldlink = 1;*/ - netif_schedule(dev); -- } -+ /*}*/ - } else if (priv->oldlink) { - netif_stop_queue(dev); - new_state = 1; |