public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mirco Fuchs <mircofuchs@web.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Configuration of the PHY address
Date: Thu, 10 Aug 2006 12:43:14 +0200	[thread overview]
Message-ID: <44DB29E2.1216.B85F3C@mircofuchs.web.de> (raw)
In-Reply-To: <44D8E5ED.20010.203AF05@mircofuchs.web.de>

> I suggest to introduce a new macro (e. g. CFG_PHY_ADDRESS) that can > be set by the user in the board specific header file.
I've just found that there is allready a macro called CONFIG_PHY_ADDR 
which is doing exactly what i want - sorry for the waste.

But the ethernet driver for the at91rm9200 does not support this 
macro. I'll modify the functions at91rm9200_EmacWritePhy() and 
at91rm9200_EmacReadPhy() and provide a patch. 

BTW: The PHY drivers for the at91rm9200 (bcm5221.c, dm9161) are using 
the functions at91rm9200_Emac...Phy() to access the PHY. Why do they 
not use the miiphy_...() functions defined in miiphy.h?


Best Regards

Mirco

      reply	other threads:[~2006-08-10 10:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-08 17:28 [U-Boot-Users] Configuration of the PHY address Mirco Fuchs
2006-08-10 10:43 ` Mirco Fuchs [this message]

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=44DB29E2.1216.B85F3C@mircofuchs.web.de \
    --to=mircofuchs@web.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