Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!tipu2.cwix.net!not-for-mail
From: Andre Oppermann <oppermann@pipeline.ch>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.2.1: Does Intel EtherExpress Pro/10 driver work?
Date: Tue, 20 May 1997 23:00:52 +0200
Organization: Internet Business Solutions Ltd. (AG)
Lines: 64
Message-ID: <33821104.76A1@pipeline.ch>
References: <5ldsi3$qiq$1@Venus.mcs.net> <5lqpas$fhb$1@sanson.dit.upm.es>
Reply-To: oppermann@pipeline.ch
NNTP-Posting-Host: opi.pipeline.ch
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: Javier Martin Rueda <jmrueda@diatel.upm.es>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41435
Hi Javier
in if_ex.c* you wrote:
#define Conn_BNC 1
#define Conn_TPE 2
#define Conn_AUI 3
-snip-
/*
* Fill in several fields of the softc structure:
* - I/O base address.
* - Hardware Ethernet address.
* - IRQ number (if not supplied in config file, read it from EEPROM).
* - Connector type.
*/
Where can I define the connector type (or only auto-detect)?
-snip-
outb(iobase + CMD_REG, Bank2_Sel);
tmp = inb(iobase + REG3);
if (tmp & TPE_bit)
sc->connector = Conn_TPE;
else if (tmp & BNC_bit)
sc->connector = Conn_BNC;
else
sc->connector = Conn_AUI;
sc->mem_size = CARD_RAM_SIZE; /* XXX This should be read from the card
itself. */
outb(iobase + CMD_REG, Bank0_Sel);
DODEBUG(Start_End, printf("ex_probe%d: finish\n", unit););
return(EX_IOSIZE);
}
This looks to me like an always fallback to Conn_BNC 1 as default.
Descr. of problem:
1. The EtherExpress Pro/10 is configured to 0x300/IRQ5 + TP (not
autodetect)
2. System is booting from floppy (2.2.1)
3. LED's on EP and Hub are OK
4. when the _ifconfig_ is done, the LED's on the EP and Hub are going
dark and
the EP switches to BNC
IMHO there is a problem in the initialisation code.
--
Andre Oppermann
CEO / Geschaeftsfuehrer
Internet Business Solutions Ltd. (AG)
Hardstrasse 235, 8005 Zurich, Switzerland
Fon +41 1 277 75 75 / Fax +41 1 277 75 77
http://www.pipeline.ch ibs@pipeline.ch