Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118886
b: refs/heads/master
c: 347c8d8
h: refs/heads/master
v: v3
  • Loading branch information
Dasgupta, Romit authored and Jeff Garzik committed Nov 11, 2008
1 parent 85807ea commit 88a3449
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf3760dad576c8dfb4fef4b8a8a08a027bf02583
refs/heads/master: 347c8d83cd9f546a8357e1ab12fa6867707975d8
4 changes: 3 additions & 1 deletion trunk/drivers/net/smc911x.c
Original file line number Diff line number Diff line change
Expand Up @@ -2050,7 +2050,9 @@ static int __init smc911x_probe(struct net_device *dev)
*/
static int smc911x_drv_probe(struct platform_device *pdev)
{
#ifdef SMC_DYNAMIC_BUS_CONFIG
struct smc911x_platdata *pd = pdev->dev.platform_data;
#endif
struct net_device *ndev;
struct resource *res;
struct smc911x_local *lp;
Expand Down Expand Up @@ -2182,9 +2184,9 @@ static int smc911x_drv_resume(struct platform_device *dev)

if (netif_running(ndev)) {
smc911x_reset(ndev);
smc911x_enable(ndev);
if (lp->phy_type != 0)
smc911x_phy_configure(&lp->phy_configure);
smc911x_enable(ndev);
netif_device_attach(ndev);
}
}
Expand Down

0 comments on commit 88a3449

Please sign in to comment.