• Andrew Morton's avatar
    [PATCH] non-MII 3c59x fix · 6f3a72d6
    Andrew Morton authored
    From: Marc Zyngier <mzyngier@freesurf.fr>
    
    The following patch tries to fix a small bug that crept in at some
    point during 2.5.
    
    None of my 3c592 or 3c597 would work if I didn't force media
    type. Instead, it would try to probe MII, looking for a suitable
    transceiver, and finaly give up, because these cards really do not
    have any sort of MII... :
    
      EISA: Probing bus 0 at Intel Corp. 82375EB
      EISA: Mainboard DEC5000 detected.
      EISA: slot 2 : ADP0001 detected.
      EISA: slot 3 : ADP7771 detected.
      EISA: slot 4 : DPTA401 detected.
      EISA: slot 5 : TCM5920 detected.
      3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
      00:05: 3Com EISA 3c592 EISA 10Mbps Demon/Vortex at 0x5000. Vers LK1.1.19
        ***WARNING*** No MII transceivers found!
      EISA: Detected 4 cards.
    
    With the enclosed patch, it just works, at least on my setup (3c592 on
    Alpha, and 3c597 on x86). I haven't been able to test it didn't break
    cards with MII, because I do not have such cards in my test boxes...
    
    The patch also removes two useless EISA-only #define I introduced some
    time ago.
    6f3a72d6
3c59x.c 101 KB