*BSD News Article 85423


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!feed1.news.erols.com!worldnet.att.net!cbgw2.lucent.com!nntphub.cb.lucent.com!alice!big.info.att.com!newsmaster
From: Bernhard Suter <suter@dnrc.bell-labs.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Need driver for DEC DC21140A [10-100 Mb/s] Fast Ethernet PCI card
Date: Mon, 23 Dec 1996 16:32:05 -0500
Organization: Bell Labs - Holmdel
Lines: 30
Message-ID: <32BEFA55.2781E494@dnrc.bell-labs.com>
References: <jbtwwuhufz4.fsf@cuba.dnrc.bell-labs.com> <E2MG4F.tB@yedi.iaf.nl>
NNTP-Posting-Host: phoenix1.dnrc.bell-labs.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 4.1.3_U1 sun4c)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32945

Wilko Bulte wrote:
> Isn't the de driver supposed to handle this?
> From the if_ed.c file (on 2.1.5R):
> /*
>  * DEC DC21040 PCI Ethernet Controller
>  *
>  * Written by Matt Thomas
>  * BPF support code stolen directly from if_ec.c
>  *
>  *   This driver supports the DEC DE435 or any other PCI
>  *   board which support DC21040, DC21041, or DC21140 (mostly).
>  */
> Don't ask me what 'mostly' means. Or is the trailing 'A' a
> showstopper?

We finally got it (FreeBSD 2.1.5, if_de.c v 1.29.2.7) running on a 
Ziatech CompactPCI single-board PC with a DC21140A fast ethernet
interface. The configuration has a NS PHY chip using the MII interface.

When the driver detects a 21140 chip it defaults for the DEC 21140
evaluation board which seems not to use MII support. We modified the
boardsw record for the TULIP_DC21140_DEC_EB at line 1440 to use
tulip_dc21140_mii_media_preset instead of
tulip_dc21140_nomii_media_preset and it works fine so far...

Changeing the default entry probably breaks some other cards, does
anybody know how to handle this properly? Or has it already been fixed
for rel 2.2?

Bernhard