View | Details | Raw Unified | Return to bug 105730
Collapse All | Expand All

(-)linux-2.6.12/drivers/net/tulip/de2104x.c (-7 / +8 lines)
Lines 1376-1388 static int de_open (struct net_device *d Link Here
1376
		return rc;
1376
		return rc;
1377
	}
1377
	}
1378
1378
1379
	rc = de_init_hw(de);
1380
	if (rc) {
1381
		printk(KERN_ERR "%s: h/w init failure, err=%d\n",
1382
		       dev->name, rc);
1383
		goto err_out_free;
1384
	}
1385
1386
	rc = request_irq(dev->irq, de_interrupt, SA_SHIRQ, dev->name, dev);
1379
	rc = request_irq(dev->irq, de_interrupt, SA_SHIRQ, dev->name, dev);
1387
	if (rc) {
1380
	if (rc) {
1388
		printk(KERN_ERR "%s: IRQ %d request failure, err=%d\n",
1381
		printk(KERN_ERR "%s: IRQ %d request failure, err=%d\n",
Lines 1390-1395 static int de_open (struct net_device *d Link Here
1390
		goto err_out_hw;
1383
		goto err_out_hw;
1391
	}
1384
	}
1392
1385
1386
	rc = de_init_hw(de);
1387
	if (rc) {
1388
		printk(KERN_ERR "%s: h/w init failure, err=%d\n",
1389
		       dev->name, rc);
1390
		free_irq(dev->irq, dev);
1391
		goto err_out_free;
1392
	}
1393
1393
	netif_start_queue(dev);
1394
	netif_start_queue(dev);
1394
	mod_timer(&de->media_timer, jiffies + DE_TIMER_NO_LINK);
1395
	mod_timer(&de->media_timer, jiffies + DE_TIMER_NO_LINK);
1395
1396

Return to bug 105730