From owner-freebsd-arm@FreeBSD.ORG Tue Dec 18 10:11:15 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 5B03316A41B; Tue, 18 Dec 2007 10:11:15 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id B975E13C43E; Tue, 18 Dec 2007 10:11:14 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id lBIABCeW041411; Tue, 18 Dec 2007 11:11:12 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id lBIAB7XE051190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Dec 2007 11:11:08 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id lBIAB7wm059628; Tue, 18 Dec 2007 11:11:07 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id lBIAB7JE059627; Tue, 18 Dec 2007 11:11:07 +0100 (CET) (envelope-from ticso) Date: Tue, 18 Dec 2007 11:11:07 +0100 From: Bernd Walter To: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= Message-ID: <20071218101106.GD51627@cicely12.cicely.de> References: <63996.192.168.1.2.1197969236.squirrel@webmail.alpha-tierchen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <63996.192.168.1.2.1197969236.squirrel@webmail.alpha-tierchen.de> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=0.129, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: freebsd-arm@freebsd.org Subject: Re: MMC cards support X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de 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 10:11:15 -0000 On Tue, Dec 18, 2007 at 10:13:56AM +0100, Björn König wrote: > > 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. Don't remember the patch, but whoever is commiting this should please keep in mind that the driver should relocate the MAC into the first register set and wipe out the other sets, otherwise we end with two configured MAC if the MAC is changed via ifconfig into the first set. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de