diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-14 21:07:42 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-14 21:07:42 +0000 |
commit | b917bcd23526e37a01f04fb8cb85d40f68e9f9ee (patch) | |
tree | ee2f77f12841052587d853776f7d9b712972da73 /target/linux/ixp4xx/patches-2.6.35/207-npe_driver_multiphy_support.patch | |
parent | 0eb7476b7713980807ecb2e1bcd97b043bb607e2 (diff) |
ixp4xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22649 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.35/207-npe_driver_multiphy_support.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.35/207-npe_driver_multiphy_support.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.35/207-npe_driver_multiphy_support.patch b/target/linux/ixp4xx/patches-2.6.35/207-npe_driver_multiphy_support.patch index afcf7e156..20a511913 100644 --- a/target/linux/ixp4xx/patches-2.6.35/207-npe_driver_multiphy_support.patch +++ b/target/linux/ixp4xx/patches-2.6.35/207-npe_driver_multiphy_support.patch @@ -37,7 +37,7 @@ TODO: take care of additional PHYs through the PHY abstraction layer /* Information about built-in HSS (synchronous serial) interfaces */ --- a/drivers/net/arm/ixp4xx_eth.c +++ b/drivers/net/arm/ixp4xx_eth.c -@@ -417,6 +417,37 @@ static int ixp4xx_phy_connect(struct net +@@ -418,6 +418,37 @@ static int ixp4xx_phy_connect(struct net struct eth_plat_info *plat = port->plat; char phy_id[MII_BUS_ID_SIZE + 3]; @@ -75,7 +75,7 @@ TODO: take care of additional PHYs through the PHY abstraction layer snprintf(phy_id, MII_BUS_ID_SIZE + 3, PHY_ID_FMT, "0", plat->phy); port->phydev = phy_connect(dev, phy_id, &ixp4xx_adjust_link, 0, PHY_INTERFACE_MODE_MII); -@@ -438,21 +469,32 @@ static void ixp4xx_phy_disconnect(struct +@@ -439,21 +470,32 @@ static void ixp4xx_phy_disconnect(struct { struct port *port = netdev_priv(dev); @@ -111,7 +111,7 @@ TODO: take care of additional PHYs through the PHY abstraction layer } static inline void debug_pkt(struct net_device *dev, const char *func, -@@ -826,6 +868,10 @@ static int eth_ioctl(struct net_device * +@@ -829,6 +871,10 @@ static int eth_ioctl(struct net_device * if (!netif_running(dev)) return -EINVAL; @@ -122,7 +122,7 @@ TODO: take care of additional PHYs through the PHY abstraction layer return phy_mii_ioctl(port->phydev, if_mii(req), cmd); } -@@ -845,18 +891,30 @@ static void ixp4xx_get_drvinfo(struct ne +@@ -848,18 +894,30 @@ static void ixp4xx_get_drvinfo(struct ne static int ixp4xx_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) { struct port *port = netdev_priv(dev); |