diff options
-rw-r--r-- | drivers/net/sfc/efx.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c index 8fc6a6edc362..0d0243b7ac34 100644 --- a/drivers/net/sfc/efx.c +++ b/drivers/net/sfc/efx.c | |||
@@ -2209,13 +2209,15 @@ static int __devinit efx_pci_probe(struct pci_dev *pci_dev, | |||
2209 | * MAC stats succeeds. */ | 2209 | * MAC stats succeeds. */ |
2210 | efx->state = STATE_RUNNING; | 2210 | efx->state = STATE_RUNNING; |
2211 | 2211 | ||
2212 | efx_mtd_probe(efx); /* allowed to fail */ | ||
2213 | |||
2214 | rc = efx_register_netdev(efx); | 2212 | rc = efx_register_netdev(efx); |
2215 | if (rc) | 2213 | if (rc) |
2216 | goto fail5; | 2214 | goto fail5; |
2217 | 2215 | ||
2218 | EFX_LOG(efx, "initialisation successful\n"); | 2216 | EFX_LOG(efx, "initialisation successful\n"); |
2217 | |||
2218 | rtnl_lock(); | ||
2219 | efx_mtd_probe(efx); /* allowed to fail */ | ||
2220 | rtnl_unlock(); | ||
2219 | return 0; | 2221 | return 0; |
2220 | 2222 | ||
2221 | fail5: | 2223 | fail5: |