From owner-freebsd-arm@FreeBSD.ORG Tue Dec 18 09:15:33 2007 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7938316A41A for ; Tue, 18 Dec 2007 09:15:33 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3196113C50B for ; Tue, 18 Dec 2007 09:15:32 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from webmail.alpha-tierchen.de (port-212-202-40-215.dynamic.qsc.de [212.202.40.215]) by mx01.qsc.de (Postfix) with ESMTP id 23411C822A; Tue, 18 Dec 2007 10:15:30 +0100 (CET) Received: from 192.168.1.2 (SquirrelMail authenticated user bkoenig) by webmail.alpha-tierchen.de with HTTP; Tue, 18 Dec 2007 10:13:56 +0100 (CET) Message-ID: <63996.192.168.1.2.1197969236.squirrel@webmail.alpha-tierchen.de> Date: Tue, 18 Dec 2007 10:13:56 +0100 (CET) From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= To: "Stanislav Sedov" User-Agent: SquirrelMail/1.4.11 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-arm@freebsd.org Subject: Re: MMC cards support 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: Tue, 18 Dec 2007 09:15:33 -0000 > On Mon, Dec 17, 2007 at 02:40:00PM -0700 M. Warner Losh mentioned: >> >> Hmmm, We got a patch to look at all the SAxL/H pairs for an address. >> I thought it was crazy to do that, but if uboot does this for some >> reason, then I'll be the first to admit that I was wrong and add the >> extra bits back. >> > Probably we can look MAC in higher registers, if lower didn't contained > valid one. > > I need to check if u-boot really does this first, though. u-boot definitely uses the second register set. I wrote a patch a few months ago and sent it to this mailing list because I had exactly the same problem. It changes ate_get_mac so that it probes all four register sets beginning at the first and it stops if the MAC is != 0. Björn