summaryrefslogtreecommitdiff
path: root/target/linux/rdc/patches-2.6.32/013-r6040_fix_mii_check_media.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-24 20:35:46 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-24 20:35:46 +0000
commita56cab61d1182e10992499350bb930b9cd5d6b8e (patch)
tree03d621ef58de563a798a2ac4ee8ddef85a292a06 /target/linux/rdc/patches-2.6.32/013-r6040_fix_mii_check_media.patch
parent3048685ad17d98d1ec1f6e39a46ad4b59e115839 (diff)
target/linux: refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21566 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.patch8
1 files changed, 3 insertions, 5 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
index 41be86aa18..f56c40fec3 100644
--- 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
@@ -1,8 +1,6 @@
-diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c
-index 4122916..eeee379 100644
--- a/drivers/net/r6040.c
+++ b/drivers/net/r6040.c
-@@ -400,9 +400,6 @@ static void r6040_init_mac_regs(struct net_device *dev)
+@@ -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);
@@ -12,7 +10,7 @@ index 4122916..eeee379 100644
}
static void r6040_tx_timeout(struct net_device *dev)
-@@ -530,8 +527,6 @@ static int r6040_phy_mode_chk(struct net_device *dev)
+@@ -531,8 +528,6 @@ static int r6040_phy_mode_chk(struct net
phy_dat = 0x0000;
}
@@ -21,7 +19,7 @@ index 4122916..eeee379 100644
return phy_dat;
};
-@@ -813,6 +808,9 @@ static void r6040_timer(unsigned long data)
+@@ -814,6 +809,9 @@ static void r6040_timer(unsigned long da
/* Timer active again */
mod_timer(&lp->timer, round_jiffies(jiffies + HZ));