aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.27/600-phy_extension.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-10-15 19:30:21 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-10-15 19:30:21 +0000
commit19b0e56ba7d5a1c93075cac3d662486917a9ef35 (patch)
tree030ca3ec5a74f7bf1a96580ad73d6e22956198b1 /target/linux/generic-2.6/patches-2.6.27/600-phy_extension.patch
parent3b90e01db8852a89a0925e0b44faec6119d6c5c9 (diff)
downloadupstream-19b0e56ba7d5a1c93075cac3d662486917a9ef35.tar.gz
upstream-19b0e56ba7d5a1c93075cac3d662486917a9ef35.tar.bz2
upstream-19b0e56ba7d5a1c93075cac3d662486917a9ef35.zip
refresh patches against 2.6.27 final
SVN-Revision: 12987
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.27/600-phy_extension.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.27/600-phy_extension.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.27/600-phy_extension.patch b/target/linux/generic-2.6/patches-2.6.27/600-phy_extension.patch
index 39f22bbdef..cacb7483ae 100644
--- a/target/linux/generic-2.6/patches-2.6.27/600-phy_extension.patch
+++ b/target/linux/generic-2.6/patches-2.6.27/600-phy_extension.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
-@@ -348,6 +348,50 @@
+@@ -348,6 +348,50 @@ int phy_ethtool_gset(struct phy_device *
}
EXPORT_SYMBOL(phy_ethtool_gset);
@@ -51,7 +51,7 @@
/**
* phy_mii_ioctl - generic PHY MII ioctl interface
* @phydev: the phy_device struct
-@@ -403,8 +447,8 @@
+@@ -403,8 +447,8 @@ int phy_mii_ioctl(struct phy_device *phy
}
phy_write(phydev, mii_data->reg_num, val);
@@ -62,7 +62,7 @@
&& val & BMCR_RESET
&& phydev->drv->config_init) {
phy_scan_fixups(phydev);
-@@ -524,7 +568,7 @@
+@@ -524,7 +568,7 @@ static void phy_force_reduction(struct p
int idx;
idx = phy_find_setting(phydev->speed, phydev->duplex);
@@ -73,7 +73,7 @@
idx = phy_find_valid(idx, phydev->supported);
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
-@@ -434,6 +434,7 @@
+@@ -434,6 +434,7 @@ void phy_start_machine(struct phy_device
void phy_stop_machine(struct phy_device *phydev);
int phy_ethtool_sset(struct phy_device *phydev, struct ethtool_cmd *cmd);
int phy_ethtool_gset(struct phy_device *phydev, struct ethtool_cmd *cmd);