public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Udo Jakobza <jakobza@e-technik.htwk-leipzig.de>
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 13:12:50 +0200	[thread overview]
Message-ID: <4450C352.5642.1365223@localhost> (raw)

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.

Thanks and Regards

Udo
Forschungs- und Transferzentrum Leipzig e. V.
an der HTWK Leipzig
Udo Jakobza
W?chterstr. 13
04107 Leipzig
Tel: +49(0)341 3076 1136
Fax: +49(0)341 3076 1220

             reply	other threads:[~2006-04-27 11:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-27 11:12 Udo Jakobza [this message]
2006-04-27 15:23 ` [U-Boot-Users] quit unclear code in cpu/arm920t/at91rm9200/ether.c Line:220 Marco Cavallini
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=4450C352.5642.1365223@localhost \
    --to=jakobza@e-technik.htwk-leipzig.de \
    --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