Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!garlic.com!news.scruz.net!kithrup.com!news.Stanford.EDU!agate!theos.com!riscan.riscan.com!van.istar!ott.istar!istar.net!imci2!news.internetMCI.com!newsfeed.internetmci.com!iol!tank.news.pipex.net!pipex!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-fo
r-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: [pccard-test-960508] Problems with nep on Digital HiNote Ultra II
Date: 18 Jun 1996 05:41:10 +0100
Organization: Coverform Ltd.
Lines: 42
Message-ID: <4q5c16$jn@anorak.coverform.lan>
References: <4p458s$lbt@gosset.maths.tcd.ie> <4p932t$lbv@gosset.maths.tcd.ie> <nqPssz0@quack.kfu.com> <4pjjmo$8c5@gosset.maths.tcd.ie> <4pl316$2ga@helena.MT.net> <4pm3ae$9db@gosset.maths.tcd.ie>
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]
Alan Judge (ajudge@maths.tcd.ie) wrote:
: On my machine what you have to do is:
: - Configure the card with -link0 link1 in the ifconfig_nep0 line
: This leaves ifconfig showing LINK1, with should be
: correct. At this point, the light is flashing and
: input errors climb fast.
: - Then do ifconfig nep0 -link1 (added as an insert action in
: pccard.conf)
: This leaves ifconfig showing no LINKx flags at all,
: which should mean (according to the source) that it
: defaults to the card EEPROM default which I think is
: 10BaseT.
: However, the card remains connected to the 10Base2 net
: and starts working fine.
: I find this more than a little odd :-)
Ah, sounds like the following patch to if_ep.c:
} else if(ifp->if_flags & IFF_LINK1 && sc->ep_connectors & BNC) {
GO_WINDOW(0);
outw(BASE + EP_W0_ADDRESS_CFG, 3 << 14);
GO_WINDOW(2);
outw(BASE + EP_COMMAND, START_TRANSCEIVER);
GO_WINDOW(1);
} else if(ifp->if_flags & IFF_LINK2 && sc->ep_connectors & UTP) {
Do some searching - it currently says
} else if(ifp->if_flags & IFF_LINK1 && sc->ep_connectors & BNC) {
outw(BASE + EP_COMMAND, START_TRANSCEIVER);
DELAY(1000);
} else if(ifp->if_flags & IFF_LINK2 && sc->ep_connectors & UTP) {
or something like that. It's not initialising the transceiver correctly.
I submitted this to the PCCARD people - it works for me.
--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....