X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/41167c6d5468e9500de6a9bc16ce7dbde7bcb628..8fbb98d0d47ebd05591571c481474b51231abb27:/target/linux/ixp4xx/patches-2.6.30/207-npe_driver_multiphy_support.patch diff --git a/target/linux/ixp4xx/patches-2.6.30/207-npe_driver_multiphy_support.patch b/target/linux/ixp4xx/patches-2.6.30/207-npe_driver_multiphy_support.patch index 4f2f8bbdb..a3866a908 100644 --- a/target/linux/ixp4xx/patches-2.6.30/207-npe_driver_multiphy_support.patch +++ b/target/linux/ixp4xx/patches-2.6.30/207-npe_driver_multiphy_support.patch @@ -75,7 +75,7 @@ TODO: take care of additional PHYs through the PHY abstraction layer snprintf(phy_id, BUS_ID_SIZE, PHY_ID_FMT, "0", plat->phy); port->phydev = phy_connect(dev, phy_id, &ixp4xx_adjust_link, 0, PHY_INTERFACE_MODE_MII); -@@ -445,21 +476,32 @@ static void ixp4xx_phy_disconnect(struct +@@ -438,21 +469,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, -@@ -831,6 +873,10 @@ static int eth_ioctl(struct net_device * +@@ -824,6 +866,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); } -@@ -850,18 +896,30 @@ static void ixp4xx_get_drvinfo(struct ne +@@ -843,18 +889,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);