dmfe driver with multiple dmfe compatible cards not working

From: Pierre SOUCHAY
Date: Mon Nov 13 2006 - 06:05:33 EST


Greetings folks,

I am using 2 dmfe compatible cards on my computer for a while. But in
recent linux version (starting from 2.6.15 I think), I cannot work with
the two cards plugged at the same time. Note that I am using Linux for
several years with this hardware and that it used to work with 2.4.x
series and with some kernels in the 2.6 series.

I am using the 2.6 kernels on a k7 machine with the debian kernels and I
know I have the same issues with kernels (debian names):
linux-image-2.6.17-2-k7, linux-image-2.6.16-1-k7 and
linux-image-2.6.15-1-k7.
Also tried with a Mandriva 2007 image (2.6.17), same results.

The lspci -v output gives me the following:

00:0b.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip
compatible 10/100 Ethernet (rev 31)
Subsystem: Unknown device 3030:5032
Flags: medium devsel, IRQ 11
I/O ports at de00 [size=256]
Memory at efffff00 (32-bit, non-prefetchable) [size=256]
Expansion ROM at eff80000 [disabled] [size=256K]
Capabilities: [50] Power Management version 1

00:08.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip
compatible 10/100 Ethernet (rev 31)
Subsystem: Unknown device 3030:5032
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at da00 [size=256]
Memory at effffe00 (32-bit, non-prefetchable) [size=256]
Expansion ROM at eff40000 [disabled] [size=256K]
Capabilities: [50] Power Management version 1

When I load the dmfe module, I have the following lines:

# modprobe dmfe debug=1
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
dmfe: dmfe_init_one() 0
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKA] -> GSI 9 (level, low)
-> IRQ 9
dmfe: dmfe_get_stats 0
eth0: Davicom DM9102 at pci0000:00:08.0, 00:80:ad:7f:70:1c, irq 9.
dmfe: dmfe_init_one() 0
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKD] -> GSI 11 (level,
low) -> IRQ 11
PCI: Unable to reserve I/O region #1:100@de00 for device 0000:00:0b.0
dmfe: Failed to request PCI regions
ACPI: PCI interrupt for device 0000:00:0b.0 disabled

The second card is not working then. But if I plug only the second card,
it works and the card initialize properly.

I don't know if you have enough information, let me know if you need
further details or testing.

Thanks for your work.

Best Regards.

Pierre Souchay

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html