[realtek] Rtl8139 & 2.4.0-test10

Jeff Garzik jgarzik@mandrakesoft.com
Mon, 06 Nov 2000 05:43:34 -0500


This is a multi-part message in MIME format.
--------------8A627260B79BBD0D5FAB2E75
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Georg Ritter wrote:
>  PCI: Failed to allocate resource 0 for PCI device 10ec:8138
>  PCI: Enabling device 02:00.0 (0000 -> 0003)
>  8139too Fast Ethernet driver 0.9.11 loaded
>  8139too: Invalid PCI region size(s), aborting

This is a problem with the kernel's CardBus hotplug code...  See "failed
to allocate resource 0" ?

In any case, does the attached patch improve things for you?

-- 
Jeff Garzik             | Dinner is ready when
Building 1024           | the smoke alarm goes off.
MandrakeSoft            |	-/usr/games/fortune
--------------8A627260B79BBD0D5FAB2E75
Content-Type: text/plain; charset=us-ascii;
 name="8139too.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="8139too.patch"

--- 8139too.c.orig	Mon Nov  6 05:42:05 2000
+++ 8139too.c	Mon Nov  6 05:42:52 2000
@@ -650,6 +650,8 @@
 	}
 	tp = dev->priv;
 
+	pci_enable_device (pdev);
+
 	pio_start = pci_resource_start (pdev, 0);
 	pio_end = pci_resource_end (pdev, 0);
 	pio_flags = pci_resource_flags (pdev, 0);

--------------8A627260B79BBD0D5FAB2E75--