Subject: Re: Fix found for nsphys!
To: Erich T. Enke <Erich.T.Enke@wheaton.edu>
From: Dave Sainty <dave@dtsp.co.nz>
List: port-i386
Date: 07/29/2000 01:06:25
"Erich T. Enke" writes:

> Sorry for the vicious cross-posting, but it concerns all three
> groups.
> 
> johnh and I found a fix for our nsphy problem today.  The problem had to
> do with a commented out, undocumented mystery bit, removed during the mii
> changes from 1.3.3 to 1.4.  The fix uncomments these bits and fixes
> autonegotiation and nastiness in general:
> 
> --- nsphy.c.orig        Wed Jul 26 13:03:43 2000
> +++ nsphy.c     Wed Jul 26 14:38:06 2000
> @@ -218,14 +218,17 @@
>                  */
>                 reg &= ~PCR_FLINK100;

Note that this line is incorrect in your sources and may be
contributing to your problems in a big way.  "Current" has the
correct:

reg |= PCR_FLINK100;

However, the fact that setting the reserved (and documented read-only)
bits help is interesting :)

Cheers,

Dave