diff options
| -rw-r--r-- | drivers/net/tulip/uli526x.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/tulip/uli526x.c b/drivers/net/tulip/uli526x.c index a59c1f224aa8..1f077ac9b0e0 100644 --- a/drivers/net/tulip/uli526x.c +++ b/drivers/net/tulip/uli526x.c | |||
| @@ -434,10 +434,6 @@ static int uli526x_open(struct net_device *dev) | |||
| 434 | 434 | ||
| 435 | ULI526X_DBUG(0, "uli526x_open", 0); | 435 | ULI526X_DBUG(0, "uli526x_open", 0); |
| 436 | 436 | ||
| 437 | ret = request_irq(dev->irq, &uli526x_interrupt, IRQF_SHARED, dev->name, dev); | ||
| 438 | if (ret) | ||
| 439 | return ret; | ||
| 440 | |||
| 441 | /* system variable init */ | 437 | /* system variable init */ |
| 442 | db->cr6_data = CR6_DEFAULT | uli526x_cr6_user_set; | 438 | db->cr6_data = CR6_DEFAULT | uli526x_cr6_user_set; |
| 443 | db->tx_packet_cnt = 0; | 439 | db->tx_packet_cnt = 0; |
| @@ -456,6 +452,10 @@ static int uli526x_open(struct net_device *dev) | |||
| 456 | /* Initialize ULI526X board */ | 452 | /* Initialize ULI526X board */ |
| 457 | uli526x_init(dev); | 453 | uli526x_init(dev); |
| 458 | 454 | ||
| 455 | ret = request_irq(dev->irq, &uli526x_interrupt, IRQF_SHARED, dev->name, dev); | ||
| 456 | if (ret) | ||
| 457 | return ret; | ||
| 458 | |||
| 459 | /* Active System Interface */ | 459 | /* Active System Interface */ |
| 460 | netif_wake_queue(dev); | 460 | netif_wake_queue(dev); |
| 461 | 461 | ||
