Hi,
I have just checked that problems with PCNET32 I met in 2.0.35
are still present in kernel 2.0.36pre14.
The problem is that if the kernel is configured with
CONFIG_PCNET32=m
and
CONFIG_LANCE=y
settings, then on system with PCNET32 card (reported by cat /proc/pci as
Bus 0, device 11, function 0:
Ethernet controller: AMD 79C970 (rev 2).
Medium devsel. IRQ 3. Master Capable. No bursts.
I/O at 0x1000.
) seems to be initialized by lance.c, but does not
work, and module pcnet32.o supposed to handle it can not
be loaded;
If I configure the system with CONFIG_LANCE=m,
or no lance support at all, by AMD NIC works with not problem;
If it is of any help, the messages logged during loading
the 'bad' kernel, regarding NIC are as follows:
---------------------
Oct 14 11:33:32 wpst kernel: PCI Master Bit has not been set. Setting...
Oct 14 11:33:32 wpst kernel: Found PCnet/PCI at 0x1000, irq 3.
Oct 14 11:33:32 wpst kernel: eth0: PCnet32 at 0x1000, 00 80 5f d2 99 80 assigned IRQ
3, no DMA needed.
Oct 14 11:33:32 wpst kernel: lance.c:v1.14 2/3/1998 [EMAIL PROTECTED],
[EMAIL PROTECTED]
--------------------
while messages logged during loading pcnet32.o module when using kernel
(same version, 2.0.36pre14) compiled with CONFIG_LANCE=m, are as follows:
=====================
Oct 14 11:43:34 wpst kernel: IPX Portions Copyright (c) 1995 Caldera, Inc.
Oct 14 11:43:34 wpst kernel: The PCI BIOS has not enabled the AMD Ethernet device at
0-58. Updating PCI command 0081->0085.
Oct 14 11:43:34 wpst kernel: eth0: PCnet32 at 0x1000, 00 80 5f d2 99 80
Oct 14 11:43:34 wpst kernel: pcnet32.c:v0.99B 4/4/98 DJBecker/TSBogend.
====================
One more thing:
I have noted is that there is a suspicious line in drivers/net/lance.c (line 515) :
#ifdef CONFIG_LANCE32
which should most probably read
#ifdef CONFIG_PCNET32
as CONFIG_LANCE32 does not seem to be defined anywhere;
I have not tried to modify this as I believe it would not affect my setup
(i.e. pcnet32 compiled as module)
Please let me know if you need any more information, testing, etc.
Best regards,
Wojtek Pilorz
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]