public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marco Cavallini <arm.linux@koansoftware.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] quit unclear code in cpu/arm920t/at91rm9200/ether.c Line:220
Date: Thu, 27 Apr 2006 17:23:17 +0200	[thread overview]
Message-ID: <4450E1E5.3010706@koansoftware.com> (raw)
In-Reply-To: <4450C352.5642.1365223@localhost>

Udo Jakobza ha scritto:
 > Hello,
 >
 > inside of arm_init() in the part:
 >
 > /* MII management start from here */
 > if (!(p_mac->EMAC_SR & AT91C_EMAC_LINK)) {
 > 		if (!(ret = PhyOps.Init (p_mac))) {
 > 			printf ("MAC: error during MII initialization\n");
 > 			return 0;
 > 		}
 > 	}
 > the software checks the status of a LINK-Bit. I thing the EMAC_SR 
register is wrong, because the EMAC_ISR has this valid LINK bit
 > (AT91C_EMAC_LINK on bit 9).
 >
 > Did anybody find this problem?
 > If not, so I will check it with our hardware and then I will prepare 
a patch.
 >

You are right.
I am facing to this annoying error message too
"MAC: error during MII initialization"
when forcing the MAC adress into u-boot if I do not u-boot networking.

A patch will be greatly appreciated ;-)
Thank you
-- 
Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
www.koansoftware.com    |    www.klinux.org

  reply	other threads:[~2006-04-27 15:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-27 11:12 [U-Boot-Users] quit unclear code in cpu/arm920t/at91rm9200/ether.c Line:220 Udo Jakobza
2006-04-27 15:23 ` Marco Cavallini [this message]
2006-04-27 16:15   ` Wolfgang Denk
2006-05-02 11:58 ` Lars Munch
2006-05-02 13:17   ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2006-04-27 11:59 Martin Krause

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4450E1E5.3010706@koansoftware.com \
    --to=arm.linux@koansoftware.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox