Changeset 91a7527 in rtems-libbsd


Ignore:
Timestamp:
Sep 27, 2017, 7:55:41 AM (19 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
647dd08ae2aa69b935c2847ea450fb824322ecae, c6261f97870562d4c797cfb1ff1ba0affb85a916
Children:
9c34735
Parents:
95b102f
git-author:
Sebastian Huber <sebastian.huber@…> (09/27/17 07:55:41)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/27/17 09:02:06)
Message:

ffec: Support more rgmii variants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/dev/ffec/if_ffec.c

    r95b102f r91a7527  
    14591459                else if (strcasecmp(phy_conn_name, "rmii") == 0)
    14601460                        sc->phy_conn_type = PHY_CONN_RMII;
     1461#ifndef __rtems__
    14611462                else if (strcasecmp(phy_conn_name, "rgmii") == 0)
     1463#else /* __rtems__ */
     1464                else if (strncasecmp(phy_conn_name, "rgmii", 5) == 0)
     1465#endif /* __rtems__ */
    14621466                        sc->phy_conn_type = PHY_CONN_RGMII;
    14631467        }
Note: See TracChangeset for help on using the changeset viewer.