Changeset 91a7527 in rtems-libbsd for freebsd/sys/dev/ffec/if_ffec.c


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