*BSD News Article 76793


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.sdsmt.edu!news.mid.net!mr.net!nntp04.primenet.com!nntp.primenet.com!news.mathworks.com!uunet!in3.uu.net!news.TACONIC.NET!usenet
From: Bill Kish <kish@browncow.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: if_zp driver & 3c589C card (bug ?)
Date: Fri, 23 Aug 1996 23:37:37 -0400
Organization: Brown Cow Engineering Inc
Lines: 18
Message-ID: <321E7901.41C6@browncow.com>
NNTP-Posting-Host: co_anx_p3.taconic.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; IRIX 5.3 IP22)

I just got my new 3c589C ethernet PCMCIA card working with freebsd 
2.1.5, but I ran into some trouble along the way...

 The card I got was the "combo" version with 10baseT and 10base2 
connectors. When I got the card configured and the interface and 
routes set up I could not get any packets through the interface. 
A bunch of poking around led me to the code in zpinit() which 
selects the connector type based on the state of the IFF_LINK0 
flag in the if_flags. Seems that the flag is always set at line 701
in zpattach() which forces the connector to be UTP... I'm using 
the BNC connector.

 There is some ifdef'd out code at line 670 that conditionally set 
the IFF_LINK0 flag based on some bits in the card eeprom. Is there 
any reason why this was disabled??


			-BK