driver/net/ne.c modification for COPAM NE2000 cards

Root (root@schnecke.offl.uni-jena.de)
Wed, 18 Nov 1998 23:42:32 +0100 (MET)


I modified the follwoing part of ne.c

from:

neX000 = (SA_prom[14] == 0x57 && SA_prom[15] == 0x57);
ctron = (SA_prom[0] == 0x00 && SA_prom[1] == 0x00 && SA_prom[2] == 0x1d);

to:

neX000 = (SA_prom[14] == 0x57 && SA_prom[15] == 0x57) ||
(SA_prom[14] == 0x49 && SA_prom[15] == 0x00);
ctron = (SA_prom[0] == 0x00 && SA_prom[1] == 0x00 && SA_prom[2] == 0x1d);

and then a COPAM card with the 8390/91/92 chip set worked correctly. A 100%
identically looking card with only the different label "Longshine" instead
of "COPAM" (all the rest is 100% identically, also color of R's and C's,
jumpers, switches, QC-labels, LEDs, on-board-jumper-description) worked
without this modification.

Please add this to the code.

-- 
Frank Klemm

- 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/