Re: [PATCH 2/2] PHYLIB/gianfar: Use phy_ethtool_get_link() for get_link op

2006-06-08 Thread Nathaniel Case
This patch makes the gianfar ethtool code use phy_ethtool_get_link() instead of ethtool_op_get_link(). Signed-off-by: Nate Case <[EMAIL PROTECTED]> --- --- a/drivers/net/gianfar_ethtool.c 2006-06-05 11:27:19.0 -0500 +++ b/drivers/net/gianfar_ethtool.c 2006-06-04 19:31:01.

Re: [PATCH 2/2] PHYLIB/gianfar: Use phy_ethtool_get_link() for get_link op

2006-06-08 Thread Jeff Garzik
Nathaniel Case wrote: On Thu, 2006-06-08 at 10:58 -0400, Jeff Garzik wrote: +static u32 gfar_get_link(struct net_device *dev) +{ + struct gfar_private *priv = netdev_priv(dev); + struct phy_device *phydev = priv->phydev; + + if (NULL == phydev) + return -ENODEV;

Re: [PATCH 2/2] PHYLIB/gianfar: Use phy_ethtool_get_link() for get_link op

2006-06-08 Thread Nathaniel Case
On Thu, 2006-06-08 at 10:58 -0400, Jeff Garzik wrote: > > +static u32 gfar_get_link(struct net_device *dev) > > +{ > > + struct gfar_private *priv = netdev_priv(dev); > > + struct phy_device *phydev = priv->phydev; > > + > > + if (NULL == phydev) > > + return -ENODEV; > > NAK, retu

Re: [PATCH 2/2] PHYLIB/gianfar: Use phy_ethtool_get_link() for get_link op

2006-06-08 Thread Jeff Garzik
Nathaniel Case wrote: This patch makes the gianfar ethtool code use phy_ethtool_get_link() instead of ethtool_op_get_link(). Patch depends on previous one (1/2). Signed-off-by: Nate Case <[EMAIL PROTECTED]> --- --- a/drivers/net/gianfar_ethtool.c 2006-06-05 11:27:19.0 -0500 +++ b/

[PATCH 2/2] PHYLIB/gianfar: Use phy_ethtool_get_link() for get_link op

2006-06-05 Thread Nathaniel Case
This patch makes the gianfar ethtool code use phy_ethtool_get_link() instead of ethtool_op_get_link(). Patch depends on previous one (1/2). Signed-off-by: Nate Case <[EMAIL PROTECTED]> --- --- a/drivers/net/gianfar_ethtool.c 2006-06-05 11:27:19.0 -0500 +++ b/drivers/net/gianfar_etht