aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/smc911x.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-11-19 02:38:23 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-19 02:38:23 -0500
commit198d6ba4d7f48c94f990f4604f0b3d73925e0ded (patch)
tree56bbdf8ba2553c23c8099da9344a8f1d1aba97ab /drivers/net/smc911x.c
parent9a57f7fabd383920585ed8b74eacd117c6551f2d (diff)
parent7f0f598a0069d1ab072375965a4b69137233169c (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/isdn/i4l/isdn_net.c fs/cifs/connect.c
Diffstat (limited to 'drivers/net/smc911x.c')
-rw-r--r--drivers/net/smc911x.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
index e0b972d36664..a91b7351150d 100644
--- a/drivers/net/smc911x.c
+++ b/drivers/net/smc911x.c
@@ -2048,7 +2048,9 @@ err_out:
2048 */ 2048 */
2049static int smc911x_drv_probe(struct platform_device *pdev) 2049static int smc911x_drv_probe(struct platform_device *pdev)
2050{ 2050{
2051#ifdef SMC_DYNAMIC_BUS_CONFIG
2051 struct smc911x_platdata *pd = pdev->dev.platform_data; 2052 struct smc911x_platdata *pd = pdev->dev.platform_data;
2053#endif
2052 struct net_device *ndev; 2054 struct net_device *ndev;
2053 struct resource *res; 2055 struct resource *res;
2054 struct smc911x_local *lp; 2056 struct smc911x_local *lp;
@@ -2180,9 +2182,9 @@ static int smc911x_drv_resume(struct platform_device *dev)
2180 2182
2181 if (netif_running(ndev)) { 2183 if (netif_running(ndev)) {
2182 smc911x_reset(ndev); 2184 smc911x_reset(ndev);
2183 smc911x_enable(ndev);
2184 if (lp->phy_type != 0) 2185 if (lp->phy_type != 0)
2185 smc911x_phy_configure(&lp->phy_configure); 2186 smc911x_phy_configure(&lp->phy_configure);
2187 smc911x_enable(ndev);
2186 netif_device_attach(ndev); 2188 netif_device_attach(ndev);
2187 } 2189 }
2188 } 2190 }