Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: George France <france@handhelds.org>
To: axp-list@redhat.com, "Kurt A. Ludwig" <n1pfc@isobutane.net>
Subject: Re: Mixed results: NIC broke with 7.2 upgrade on DP 264
Date: Thu, 20 Jun 2002 01:19:04 -0400	[thread overview]
Message-ID: <02062001190401.21513@shadowfax.middleearth> (raw)
In-Reply-To: <Pine.LNX.4.44.0206192343290.23320-100000@cs>

On Wednesday 19 June 2002 23:45, Kurt A. Ludwig wrote:
> I've actually had problems with the *true* DEC 21143 cards as well. They
> wouldn't run autodetect to FD unless the port that they were plugged into
> on my switch was set to FD. They'd autoneg fine in SRM (with a boot ewa0)
> but failed misserably when the kernel would come up. Only when the port
> was forced to FD it would actually play nice.
>

Hello Kurt,

The auto-negotiation issue is sort of ugly.  For those interested in the 
technical details, as best I remember:

The 21143 has what is called NWAY auto-negotiation.  This allows designs with 
10/100 auto negotiation without having to use a MII transceiver.  While 
adding the NWAY feature, somebody DEC  / Intel changed the behavior of some 
of the registers in a way that is very subtle.

On the 21140 the CSR6 register has a bit that can be used to enable and 
disable full duplex.  This bit acts like a simple on / off switch.  On 21143, 
the bit has a different meaning depending up whether or not you have NWAY 
auto-negotiation enabled.  When auto-negotiation is disabled, the bit can be 
used as in the 21140.  When auto-negotiation is enabled the bit controls the 
advertisement of 10Mbps full duplex mode to its link partner.

So on a 21143, to get full duplex to work, you need to:

   Set the 21143 for 10baseT half-duplex mode, as this is the only mode that 
NWAY will function.

   Set the full duplex bit in the CSR6 and CSR14 to advertise all the    
available media selections.

  Turn on auto-negotiation.

   Wait for NWAY to complete.

   Turn auto-negotiation off.

   Program the chip to use the best setting.

The trick in the above is that you must turn off auto-negotiation to get the 
21140 behavior in the CSR6 register, in order to put the 21143 in full duplex.

I hope this helps.

Best Regards,


--George




  parent reply	other threads:[~2002-06-20  5:19 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-22 13:47 Multihead Matt Spong
2000-03-22 14:25 ` Multihead Andreas Vetter
2000-03-22 22:57   ` Multihead Matt Spong
2000-03-22 14:38 ` Multihead Jaap Schellekens
2000-03-22 22:58   ` Multihead Matt Spong
2000-03-23  7:54     ` Multihead Jaap Schellekens
2000-03-23 10:10       ` Multihead Matt Spong
2000-03-23 11:19         ` Multihead Jaap Schellekens
2000-03-23 14:03           ` Multihead Jay Estabrook
2002-06-20  2:21             ` Mixed results: NIC broke with 7.2 upgrade on DP 264 Mark Hansel
2002-06-20  2:53               ` Bryce
2002-06-20  3:45                 ` Kurt A. Ludwig
2002-06-20  4:17                   ` cprice
2002-06-20  4:36                     ` Michal Jaegermann
2002-06-20  5:01                       ` George France
2002-06-20 16:32                         ` Michal Jaegermann
2002-06-20  5:19                   ` George France [this message]
2002-07-20  6:11                     ` Ted Goodridge, Jr
2002-06-20 16:07                   ` Bryce
2002-06-20 16:19                     ` Bryce
2002-06-20  5:47                 ` Ingo T. Storm
2002-06-20 14:08                 ` John Jasen
2002-07-12 18:36               ` 7.2 X session instability on LX 164 Mark Hansel
2002-07-12 20:02                 ` Jay Estabrook
2002-07-13  0:21                   ` Mark Hansel
2002-07-13 19:51                     ` 7.2 X session (LX 164) Mark Hansel
2002-07-15 14:11                     ` 7.2 X session instability on LX 164 Jay Estabrook
2002-07-19  1:48                 ` Rack Mount Cases for 164LX MotherBoard? john weez
2002-07-19  5:32                   ` Alvin Starr
2002-07-19  1:50                 ` Adaptec 29160 64-bit scsi card john weez
2002-07-19  1:55                   ` Kurt A. Ludwig
2002-07-19  5:34                   ` Alvin Starr
2002-07-19  5:36                     ` Iwao Makino
2002-07-19  6:10                       ` Ted Goodridge, Jr
2002-07-19  6:31                         ` USB in LX164 (was Re: Adaptec 29160 64-bit scsi card) Alan Young
2002-07-19  6:33                       ` Adaptec 29160 64-bit scsi card Douglas Trainor
  -- strict thread matches above, loose matches on Subject: below --
2002-06-20  3:26 Mixed results: NIC broke with 7.2 upgrade on DP 264 Collin Baillie
2002-06-20  3:36 ` cprice
2002-06-20  3:53 ` Ted Goodridge, Jr
2002-06-20 11:13 ` Mark Hansel
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox