Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!husc6!harvard!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix-wizards Subject: Re: SUN-3s talking to SUN-2s with 3COM boards Message-ID: <1360@umcp-cs.UUCP> Date: Wed, 7-May-86 10:12:10 EDT Article-I.D.: umcp-cs.1360 Posted: Wed May 7 10:12:10 1986 Date-Received: Fri, 9-May-86 10:50:22 EDT References: <1428@unc.unc.UUCP> <1359@umcp-cs.UUCP> Reply-To: chris@maryland.UUCP (Chris Torek) Distribution: net Organization: University of Maryland, Dept. of Computer Sci. Lines: 48 In article <1359@umcp-cs.UUCP> steve@maryland.UUCP (Steve D. Miller) writes: >In article <1428@unc.unc.UUCP> menges@unc.UUCP (John Menges) writes: >> 2. What does it mean to "slow down the ethernet board"? ... > > Cthulhu knows what they mean by this .... Actually, I suspect they mean something along these lines: /* * Start transmission on an ie. */ ieoutput(sc) struct ie_softc *sc; { ... #ifdef UGLY_KLUDGE if (sc->sc_flags & SF_NEEDDELAY) { sc->sc_flags &= ~SF_NEEDDELAY; timeout(ieoutput, (caddr_t) sc, 1); return; } #endif ... ie->ie_command_register = IE_DO_A_SEND; #ifdef UGLY_KLUDGE sc->sc_flags |= SF_NEEDDELAY; #endif } This would introduce a two tick delay per packet, which gives a maximum transmission rate of 25 packets per second (ugh). It might work to do timeout(..., 0), giving 50 packets/sec; but that is still awful. Another alternative, if you do not mind wasting CPU, is ie->ie_command_register = IE_DO_A_SEND; #ifdef OTHER_UGLY_KLUDGE DELAY(1000); /* ~1 ms, hope that is long enough */ #endif I used something like the latter to get around a microcode bug in UDA50s (though I no longer need to get around it: I now simply avoid the situation in which the bug shows up). -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1415) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu