From: Ulf Samuelsson <ulf@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] MII / RMII
Date: Fri, 30 Nov 2007 00:45:59 +0100 [thread overview]
Message-ID: <021601c832e3$e7146e60$dcc4af0a@atmel.com> (raw)
In-Reply-To: 474F435B.8050303@qstreams.com
> Ulf Samuelsson wrote:
>> tor 2007-11-29 klockan 19:51 +0100 skrev Guennadi Liakhovetski:
>>
>>> Hi,
>>>
>>> 1. Does it make sense at all to define CONFIG_RMII without defining
>>> CONFIG_MII? The question is meant not really theoretical as in what
>>> meaning RMII has, rather how the macro CONFIG_RMII is supposed to be used?
>>> For example, tests like
>>>
>>>
>>
>> I think that if you use an Ethernet and need to differentiate
>> between MII and RMII they should be mutually exclusive.
>> You either define CONFIG_RMII OR CONFIG_MII but not both.
>> If you have a PHY on the chip, then you do not define any of the two.
>>
> Not quite. I've argued that both CONFIG_MII and CONFIG_RMII are
> pointless, but if they did have a purpose it would be to set up the link
> between a MAC and a PHY on the MAC side. The bottom line is that if
> CONFIGs like this are going to be used for hardware initialization they
> need to be much more specific.
>
You need to know which PHY you are going to use,
and you need to know if you are going to connect using RMII or MII
so you need to have some kind of configuration.
Once the configuration for MII/RMII is known, then
each chip driver will have a very few things which can vary.
I think the pin multiplexing is the key thing that could be controlled
by these things.
Each chip will have limited
> regards,
> Ben
Best Regards
Ulf Samuelsson ulf at atmel.com
Atmel Nordic AB
Mail: Box 2033, 174 02 Sundbyberg, Sweden
Visit: Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden
Phone +46 (8) 441 54 22 Fax +46 (8) 441 54 29
GSM +46 (706) 22 44 57
next prev parent reply other threads:[~2007-11-29 23:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-29 18:51 [U-Boot-Users] MII / RMII Guennadi Liakhovetski
2007-11-29 20:31 ` Ben Warren
2007-11-29 22:25 ` Haavard Skinnemoen
2007-11-29 22:25 ` Ulf Samuelsson
2007-11-29 22:55 ` Ben Warren
2007-11-29 23:45 ` Ulf Samuelsson [this message]
2008-01-08 1:35 ` Andy Fleming
2008-01-08 4:43 ` Stefan Roese
2008-01-08 16:27 ` Ben Warren
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='021601c832e3$e7146e60$dcc4af0a@atmel.com' \
--to=ulf@atmel.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