[3829] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: e2100 driver

daemon@ATHENA.MIT.EDU (Paul Gortmaker)
Wed Jul 24 07:29:00 1996

From: Paul Gortmaker <gpg109@rsphy1.anu.edu.au>
To: cuirle@phikap.student.cwru.edu (Ron P. Cuirle)
Date: 	Wed, 24 Jul 1996 00:33:54 +1000 (EST)
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.91.960721193543.3333B-100000@phikap.cwru.edu> from "Ron P. Cuirle" at Jul 21, 96 07:41:23 pm

> 
> Hello again,
> 
> Perhaps this won't be taken as a newbie question.

Maybe not, but it is documented in the relevant HowTo though.

> I have a Cabletron E2142 network card.  The primary media is Fiber, the 
> Secondary is BNC.  Linux detects the primary media just fine on boot.  
> All the tweaking in the world won't get it to detect secondary.
> 
> In /usr/src/linux/drivers/net/e2100.c, I have tried changing the 
> definition of E21_ALT_IFPORT (as per the comments, that's only help i 
> could find), to values such as 0x00, 0x01, 0x03, and 0x04.  None of which 
> work for secondary media.  In fact, they all still detect primary.

You are making life too hard for yourself. The E21_ALT_IFPORT #define
is a value that is output to the card, and not something that is meant
to be changed by the end user. As it says in the HowTo, just use
the low bits of the mem_end boot argument, i.e.:

	LILO: linux ether=0,0,0,1

(That is IRQ, i/o, mem_start, mem_end). Any non-zero mem_end value 
will cause the driver to use the secondary port. If you are into
the module thing, then use xcvr=1 on the insmod line, which is also
documented in the howto, and in the file:

	./linux/Documentation/networking/net-modules.txt

Paul.


home help back first fref pref prev next nref lref last post