[En-Nut-Discussion] RFC: Make ethernet phy mode RMII the default

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Thu Jul 23 11:10:57 CEST 2015


>>>>> "Ole" == Ole Reinhardt <ole.reinhardt at embedded-it.de> 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 at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------


More information about the En-Nut-Discussion mailing list