Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2007 10:13:56 +0100 (CET)
From:      =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de>
To:        "Stanislav Sedov" <stas@freebsd.org>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: MMC cards support
Message-ID:  <63996.192.168.1.2.1197969236.squirrel@webmail.alpha-tierchen.de>

next in thread | raw e-mail | index | archive | help
> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63996.192.168.1.2.1197969236.squirrel>