2001-02-07 18:57:23

by Dave Jones

[permalink] [raw]
Subject: [PATCH] ne2k calling pci_enable twice.


Hi Alan,
This looks odd to me, we're enabling the device twice.
Patch against ac4.

regards,

Dave.

--
| Dave Jones. http://www.suse.de/~davej
| SuSE Labs

diff -urN --exclude-from=/home/davej/.exclude linux/drivers/net/ne2k-pci.c linux-dj/drivers/net/ne2k-pci.c
--- linux/drivers/net/ne2k-pci.c Wed Feb 7 12:42:40 2001
+++ linux-dj/drivers/net/ne2k-pci.c Wed Feb 7 18:18:38 2001
@@ -213,9 +213,6 @@
return -ENODEV;
}

- i = pci_enable_device (pdev);
- if (i)
- return i;
irq = pdev->irq;

if (request_region (ioaddr, NE_IO_EXTENT, "ne2k-pci") == NULL) {