From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 38E293EAE8 for ; Thu, 20 Jun 2002 01:19:48 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g5K5Jk622284 for axp-list@listman.redhat.com; Thu, 20 Jun 2002 01:19:46 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g5K5Jkr22280 for ; Thu, 20 Jun 2002 01:19:46 -0400 Received: from handhelds.org (handhelds.org [192.58.209.91]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g5K5Am924383 for ; Thu, 20 Jun 2002 01:10:48 -0400 Received: (qmail 26808 invoked from network); 20 Jun 2002 05:19:40 -0000 Received: from localhost (HELO shadowfax.middleearth) (127.0.0.1) by localhost with SMTP; 20 Jun 2002 05:19:40 -0000 From: George France To: axp-list@redhat.com, "Kurt A. Ludwig" Subject: Re: Mixed results: NIC broke with 7.2 upgrade on DP 264 Date: Thu, 20 Jun 2002 01:19:04 -0400 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="US-ASCII" References: In-Reply-To: MIME-Version: 1.0 Message-Id: <02062001190401.21513@shadowfax.middleearth> Content-Transfer-Encoding: 8bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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