Re: RFC: Make ethernet phy mode RMII the default

Uwe Bonnes <bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org>
Newsgroups gmane.comp.hardware.microcontrollers.ethernut
Message-ID <[email protected]>
>>>>> "Ole" == Ole Reinhardt <ole.reinhardt-L1vi/[email protected]> writes:

    Ole> Hi Uwe, in most designs, we normaly use RMII mode anyway, because
    Ole> it needs less connections.

    Ole> AFAIK MII mode is only needed for some AT91 platforms. So I would
    Ole> suggest to make RMII mode the default for most platforms and keep
    Ole> MII as default only for those AT91 drivers. What do you think?

This sounds like a good idea, but I have problems to implement.

How I would like the logic to be:

- in dev.nut "PHY_MODE_MII" should not be provided and not be defined for
  all archs beside AT91.
- for any arch, if "PHY_MODE_MII" is defined in the .conf file,
  PHY_MODE_MII should be provided and be defined for
  all archs beside AT91.
- "PHY_MODE_MII" should be provided and defined with AT91 when
  PHY_MODE_RMII" is not given in the conf file.
- For AT91, with "PHY_MODE_RMII" defined in the .conf file, "PHY_MODE_MII"
  should not be provided and not be defined.

Bye
-- 
Uwe Bonnes                bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.