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


Ignore:
Timestamp:
Sep 27, 2017, 7:55:41 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, debc0aed8b9bef9996b8ec0ae7a70b0b41912e27, 68e79b6d187fe09b0a6f3f1d22c69b4121a3f76e, 33bfaee89aa71d2252eb48d6b9a9ec17183faced
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.