*BSD News Article 65191


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!news.cais.net!news.jsums.edu!gatech!newsfeed.internetmci.com!iol!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 3Com 589... zp driver doesn't work?
Date: 8 Apr 1996 00:00:30 +0100
Organization: Coverform Ltd.
Lines: 84
Message-ID: <4k9hee$29p@anorak.coverform.lan>
References: <315721B7.41C67EA6@cosmic.org> <4jnm9f$670@kogwy.cc.keio.ac.jp>
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

HOSOKAWA Tatsumi (hosokawa@mt.cs.keio.ac.jp) wrote:
: In article <315721B7.41C67EA6@cosmic.org>
: jwb@cosmic.org writes:

: >> The system can't seem to find the 3Com 589 credit card ethernet in
: >> this laptop (Dell Latitude p90). It shows up when "ze" is scanned
: >> but I can't get the networking to use zp0 for an ethernet device..
: >> 
: >> Tried different port/irq settings.. disabled everything else with
: >> /kernel -c ..
: >> 
: >> Are there any undocumented problems with this thing?

: The zp driver has some problems with 3C589"C", the newest model of
: PCMCIA Etherlink III.  Please test one of these installation floppies.

: boot.flp of 2.2-960323-SNAP

: 	it has newest zp driver and it works with 3C589C

: Bug-fixed version of 2.1.0-RELEASE installation floppy in
: ftp://bash.cc.keio.ac.jp/pub/os/FreeBSD/alpha-test/zpfix/

: 	zp driver of this floppy works with 3C589C

: PC-card aware floppy in
: ftp://bash.cc.keio.ac.jp/pub/os/FreeBSD/alpha-test/pccard-flp/

: 	zp driver was replaced with new driver "nep"

: ... and after the installation, I recommend you to use our pccard
: package.  It enables hotplug of PCMCIA cards and supports many cards.

: Please read

: 	http://www.mt.cs.keio.ac.jp/person/hosokawa/freebsd-pcmcia/

: for details.

: Thanks.

: --
: 	HOSOKAWA, Tatsumi              E-mail: hosokawa@mt.cs.keio.ac.jp
: 	  WWW homepage: http://www.mt.cs.keio.ac.jp/person/hosokawa.html
: 	Department of Computer Science, Keio University, Yokohama, Japan

Be careful with the nep driver, In my experience, it isn't as good as the
ep driver (modified via the pccard-960318 release).  Both drivers hang
under heavy load, and both give lousy throughput (~100k/sec).  The nep
driver however takes the kernel with it when it hangs.  The ep driver
just jams the interface until you do a tcpdump, then everything frees
up again.  They do however work - and have been _HUGELY_ useful to me !

Also, if you have a default connector type of UTP (this is the default
unless you manually change it) and want a BNC connection, the init code
doesn't initialise the transceiver correctly when you specify link1 as an
ifconfig argument.  The code that reads

    } else if(ifp->if_flags & IFF_LINK1 && sc->ep_connectors & BNC) {
        outw(BASE + EP_COMMAND, START_TRANSCEIVER);
        DELAY(1000);

should read

    } else if(ifp->if_flags & IFF_LINK1 && sc->ep_connectors & BNC) {
        GO_WINDOW(0);
        /* set the xcvr */
        outw(BASE + EP_W0_ADDRESS_CFG, 3 << 14);
        GO_WINDOW(2);
        outw(BASE + EP_COMMAND, START_TRANSCEIVER);
        GO_WINDOW(1);

in two places in each of /sys/i386/isa/if_ep.c & if_nep.c.

I tried mailing HOSOKAWA Tatsumi (hosokawa@mt.cs.keio.ac.jp) with these
changes, but they didn't make it into the 960318 release (if they made
it at all).

BTW, congrats on this work - I'm _VERY_ impressed !

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....