diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-05 11:43:32 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-05 11:43:32 +0000 |
commit | c52b8023cfb767d102e259222e564738e7ff1899 (patch) | |
tree | 803b1e3a649bd12512b645cb43e2698d594c1145 /target/linux/rdc/patches-2.6.32/013-r6040_fix_mii_check_media.patch | |
parent | c31d5201a9fc8ae05f9eb09b8d463980035b2b21 (diff) | |
download | upstream-c52b8023cfb767d102e259222e564738e7ff1899.tar.gz upstream-c52b8023cfb767d102e259222e564738e7ff1899.tar.bz2 upstream-c52b8023cfb767d102e259222e564738e7ff1899.zip |
rdc: remove 2.6.32 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31596 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/patches-2.6.32/013-r6040_fix_mii_check_media.patch')
-rw-r--r-- | target/linux/rdc/patches-2.6.32/013-r6040_fix_mii_check_media.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/rdc/patches-2.6.32/013-r6040_fix_mii_check_media.patch b/target/linux/rdc/patches-2.6.32/013-r6040_fix_mii_check_media.patch deleted file mode 100644 index f56c40fec3..0000000000 --- a/target/linux/rdc/patches-2.6.32/013-r6040_fix_mii_check_media.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/drivers/net/r6040.c -+++ b/drivers/net/r6040.c -@@ -401,9 +401,6 @@ static void r6040_init_mac_regs(struct n - * we may got called by r6040_tx_timeout which has left - * some unsent tx buffers */ - iowrite16(0x01, ioaddr + MTPR); -- -- /* Check media */ -- mii_check_media(&lp->mii_if, 1, 1); - } - - static void r6040_tx_timeout(struct net_device *dev) -@@ -531,8 +528,6 @@ static int r6040_phy_mode_chk(struct net - phy_dat = 0x0000; - } - -- mii_check_media(&lp->mii_if, 0, 1); -- - return phy_dat; - }; - -@@ -814,6 +809,9 @@ static void r6040_timer(unsigned long da - - /* Timer active again */ - mod_timer(&lp->timer, round_jiffies(jiffies + HZ)); -+ -+ /* Check media */ -+ mii_check_media(&lp->mii_if, 1, 1); - } - - /* Read/set MAC address routines */ |