Changeset 91a7527 in rtems-libbsd


Ignore:
Timestamp:
Sep 27, 2017, 7:55:41 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, 5-freebsd-12, 6-freebsd-12, master
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.