[vortex] 3c575 support broken

Mike Hayward hayward@loup.net
Thu Nov 15 13:24:00 2001


Hi,

I have a 3com pcmcia ethernet card which works great in my 2.2.x
kernels with the 3c575_cb.c driver.  It no longer works in linux
2.4.7... the new driver 3c59x.c indicates that the old driver was
merged in with it.  Here are the kernel boot messages:

The new driver lights up the 10mbit led instead of the 100mbit led and
is unresponsive.  I'm currently trying to figure out how to swap the
old driver back into the kernel.

- Mike

----------------------------------------------------------------------
linux 2.2.19

Nov 12 12:51:27 flux cardmgr[369]: executing: 'modprobe 3c575_cb'
Nov 12 12:51:27 flux rc: Starting sshd2 succeeded
Nov 12 12:51:27 flux kernel: 3c59x.c:v0.99Q 5/16/2000 Donald Becker, becker@scyld.com 
Nov 12 12:51:27 flux kernel:   http://www.scyld.com/network/vortex.html 
Nov 12 12:51:27 flux kernel: cs: cb_config(bus 32) 
Nov 12 12:51:27 flux kernel:   fn 0 bar 1: io 0x200-0x27f 
Nov 12 12:51:27 flux kernel:   fn 0 bar 2: mem 0xa0061000-0xa006107f 
Nov 12 12:51:27 flux kernel:   fn 0 bar 3: mem 0xa0060000-0xa006007f 
Nov 12 12:51:27 flux kernel:   fn 0 rom: mem 0xa0040000-0xa005ffff 
Nov 12 12:51:27 flux kernel:   irq 11 
Nov 12 12:51:27 flux kernel: vortex_attach(device 20:00.0) 
Nov 12 12:51:27 flux kernel: eth1: 3Com 3CCFE575BT Cyclone CardBus at 0x200,  00:50:da:d2:98:cc, IRQ 11 Nov 12 12:51:27 flux kernel:   product code 'ZH' rev 07.1 date 06-20-00 
Nov 12 12:51:27 flux kernel: eth1: CardBus functions mapped a0060000->e0056000. 
Nov 12 12:51:27 flux kernel:   8K byte-wide RAM 5:3 Rx:Tx split, MII interface. 
Nov 12 12:51:27 flux kernel:   MII transceiver found at address 0, status 282d. 
Nov 12 12:51:27 flux kernel:   Enabling bus-master transmits and whole-frame receives. 
Nov 12 12:51:27 flux cardmgr[369]: executing: './network start eth1'

----------------------------------------------------------------------
linux 2.4.7

Nov 12 12:38:36 flux kernel: cs: cb_alloc(bus 7): vendor 0x10b7, device 0x5157
Nov 12 12:38:36 flux kernel: PCI: Enabling device 07:00.0 (0000 -> 0003)
Nov 12 12:38:36 flux kernel: 07:00.0: 3Com PCI 3CCFE575BT Cyclone CardBus at 0xe400. Vers LK1.1.16
Nov 12 12:38:36 flux kernel: PCI: Setting latency timer of device 07:00.0 to 64
Nov 12 12:38:36 flux cardmgr[833]: initializing socket 1
Nov 12 12:38:36 flux cardmgr[833]: socket 1: 3Com 3CCFE575B/3CXFE575B Fast EtherLink XL

----------------------------------------------------------------------
Here is the beginning of the driver file in the new kernels:

/* EtherLinkXL.c: A 3Com EtherLink PCI III/XL ethernet driver for linux. */
/*
        Written 1996-1999 by Donald Becker.

        This software may be used and distributed according to the
        terms
        of the GNU General Public License, incorporated herein by
        reference.

        This driver is for the 3Com "Vortex" and "Boomerang" series
        ethercards.
        Members of the series include Fast EtherLink
        3c590/3c592/3c595/3c597
        and the EtherLink XL 3c900 and 3c905 cards.

        Problem reports and questions should be directed to
        vortex@scyld.com

        The author may be reached as becker@scyld.com, or C/O
        Scyld Computing Corporation
        410 Severn Ave., Suite 210
        Annapolis MD 21403

        Linux Kernel Additions:
        
        0.99H+lk0.9 - David S. Miller - softnet, PCI DMA updates
        0.99H+lk1.0 - Jeff Garzik <jgarzik@mandrakesoft.com>
                Remove compatibility defines for kernel versions <
        0.2.2.x.
                Update for new 2.3.x module interface
        LK1.1.2 (March 19, 2000)
        * New PCI interface (jgarzik)

    LK1.1.3 25 April 2000, Andrew Morton <andrewm@uow.edu.au>
    - Merged with 3c575_cb.c
    - Don't set RxComplete in boomerang interrupt enable reg