Re: [patch] drivers/net/3c59x.c

From: Mikael Pettersson (mikpe@csd.uu.se)
Date: Wed Jul 05 2000 - 11:48:38 EST


On Sun, 02 Jul 2000 20:42:08 +1000, Andrew Morton wrote:

>Fingers crossed, this is the final 3c59x patch for Linux 2.4. But I
>have heard very little from users of the Cardbus NICs.

In my case, it's because the kernel's pcmcia/cardbus and 3c59x
drivers don't work nearly as well as David Hinds' pcmcia-cs package,
to the point that I rarely even bother testing the kernel drivers.

Disregarding problems with cardbus bridges on some laptops, I've had the
following problems with kernel-based pcmcia/cardbus and 3c59x:

1. Naming confusion and incompatibilities with the pcmcia-cs
   cardmgr. I was able to use the kernel's drivers with pcmcia-cs
   between (roughly) 2.3.48 and 2.3.99-pre1. Later, perhaps
   in 2.3.99-pre9, I tested the kernel drivers again. 3c59x
   did recognize my 3c575_cb card, but cardmgr failed to `up' it,
   apparently due to some naming confusion (eth0 vs 3c575_cb).
   A manual ifup did work, but requiring manual intervention is
   not acceptable.

2. In 2.4.0-test3-pre2, both vanilla and with your final 3c59x patch,
   vortex_probe1() fails which prevents the module from loading at all.
   Here's a excerpt from my /var/log/messages:

Jul 5 16:46:05 xxx kernel: Linux PCMCIA Card Services 3.1.11
Jul 5 16:46:05 xxx kernel: options: [pci] [cardbus] [pm]
Jul 5 16:46:05 xxx kernel: Adding cardbus controller 0: Texas Instruments PCI1131
Jul 5 16:46:05 xxx kernel: Yenta IRQ list 0658, PCI irq11
Jul 5 16:46:05 xxx kernel: Socket status: 30000006
Jul 5 16:46:05 xxx kernel: Adding cardbus controller 1: Texas Instruments PCI1131 (#2)
Jul 5 16:46:05 xxx kernel: Yenta IRQ list 0658, PCI irq11
Jul 5 16:46:05 xxx kernel: Socket status: 30000006
...
Jul 5 16:46:07 xxx pcmcia: Starting PCMCIA services:
Jul 5 16:46:07 xxx pcmcia: cardmgr.
Jul 5 16:46:07 xxx cardmgr[448]: starting, version is 3.1.11
Jul 5 16:46:07 xxx rc: Starting pcmcia succeeded
Jul 5 16:46:07 xxx cardmgr[448]: watching 2 sockets
Jul 5 16:46:07 xxx kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Jul 5 16:46:07 xxx kernel: cs: IO port probe 0x0800-0x08ff: clean.
Jul 5 16:46:07 xxx kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x210-0x217 0x220-0x22f 0x378-0x37f 0x388-0x38f 0x4d0-0x4d7
Jul 5 16:46:07 xxx kernel: cs: IO port probe 0x0a00-0x0aff: clean.
...
Jul 5 16:46:22 xxx cardmgr[448]: initializing socket 1
Jul 5 16:46:22 xxx cardmgr[448]: socket 1: 3Com 3c575-TX Fast EtherLink XL
Jul 5 16:46:22 xxx kernel: cs: cb_alloc(bus 3): vendor 0x10b7, device 0x5057
Jul 5 16:46:22 xxx kernel: PCI: Enabling device 03:00.0 (0000 -> 0003)
Jul 5 16:46:22 xxx kernel: PCI: No IRQ known for interrupt pin A of device 03:00.0. Please try using pci=biosirq.
Jul 5 16:46:22 xxx cardmgr[448]: executing: 'modprobe cb_enabler'
Jul 5 16:46:22 xxx cardmgr[448]: + modprobe: Can't locate module cb_enabler
Jul 5 16:46:22 xxx cardmgr[448]: modprobe exited with status 255
Jul 5 16:46:22 xxx cardmgr[448]: module /lib/modules/2.4.0-test3-pre2-test/pcmcia/cb_enabler.o not available
Jul 5 16:46:22 xxx cardmgr[448]: executing: 'modprobe 3c575_cb'
Jul 5 16:46:22 xxx kernel: 3c59x.c:v0.99L+LK1.1.6 28 May 2000 Donald Becker and others. http://www.scyld.com/network/vortex.html $Revision: 1.97 $
Jul 5 16:46:22 xxx kernel: eth0: 3Com PCI 3c575 Boomerang CardBus at 0x1400, <3>eth0: Cannot reserve I/O resource 0x80 @ 0x1400, aborting
Jul 5 16:46:22 xxx kernel: 3c59x: vortex_probe1 fails. Returns -16

/Mikael

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:16 EST