1 Index: linux-3.0.3/drivers/net/lantiq_etop.c
2 ===================================================================
3 --- linux-3.0.3.orig/drivers/net/lantiq_etop.c 2011-10-07 11:03:00.140000754 +0200
4 +++ linux-3.0.3/drivers/net/lantiq_etop.c 2011-10-07 11:03:06.088001008 +0200
7 struct ltq_etop_priv *priv = netdev_priv(dev);
9 - return phy_ethtool_gset(priv->phydev, cmd);
11 + return phy_ethtool_gset(priv->phydev, cmd);
19 struct ltq_etop_priv *priv = netdev_priv(dev);
21 - return phy_ethtool_sset(priv->phydev, cmd);
23 + return phy_ethtool_sset(priv->phydev, cmd);
31 struct ltq_etop_priv *priv = netdev_priv(dev);
33 - return phy_start_aneg(priv->phydev);
35 + return phy_start_aneg(priv->phydev);
40 static const struct ethtool_ops ltq_etop_ethtool_ops = {
42 ltq_dma_open(&ch->dma);
43 napi_enable(&ch->napi);
45 - phy_start(priv->phydev);
47 + phy_start(priv->phydev);
48 netif_tx_start_all_queues(dev);
54 netif_tx_stop_all_queues(dev);
55 - phy_stop(priv->phydev);
57 + phy_stop(priv->phydev);
58 for (i = 0; i < MAX_DMA_CHAN; i++) {
59 struct ltq_etop_chan *ch = &priv->ch[i];
62 ltq_etop_set_multicast_list(dev);
63 err = ltq_etop_mdio_init(dev);
66 + pr_warn("etop: mdio probe failed\n");;