From owner-freebsd-arm@FreeBSD.ORG Thu Aug 24 16:13:09 2006 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA5DC16A4DA for ; Thu, 24 Aug 2006 16:13:09 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29C5B43D46 for ; Thu, 24 Aug 2006 16:13:09 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k7OGAnjC083935; Thu, 24 Aug 2006 10:10:49 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 24 Aug 2006 10:10:55 -0600 (MDT) Message-Id: <20060824.101055.1723237336.imp@bsdimp.com> To: ticso@cicely.de From: "M. Warner Losh" In-Reply-To: <20060824155207.GM49178@cicely12.cicely.de> References: <20060823175736.GE47093@cicely12.cicely.de> <20060824155207.GM49178@cicely12.cicely.de> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Thu, 24 Aug 2006 10:10:50 -0600 (MDT) Cc: freebsd-arm@freebsd.org Subject: Re: AT91RM9200 problem X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 16:13:09 -0000 [ no packets ] I had some problems with my phy (*LOTS* of phy problems), but this sounds similar to one in particular. We weren't getting packets. I added code to read the PHY specific registers to see when there was a link indicated, then set registers in the EMAC part based on that. See GetLinkSpeed for the details in boot/arm/at91/libat91/emac.c. Warner