Changeset 2121b4f in rtems-libbsd


Ignore:
Timestamp:
Mar 27, 2015, 1:25:16 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
0c10bd5
Parents:
710d2a1
git-author:
Sebastian Huber <sebastian.huber@…> (03/27/15 13:25:16)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/01/15 07:15:29)
Message:

micphy: Hack to set some skew values

This works for the Altera Cyclone V SoC Development Kit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/dev/mii/micphy.c

    r710d2a1 r2121b4f  
    195195                        "txd0-skew-ps", "txd1-skew-ps",
    196196                        "txd2-skew-ps", "txd3-skew-ps");
     197#else /* __rtems__ */
     198        /* FIXME */
     199        micphy_write(sc, MII_KSZPHY_CLK_CONTROL_PAD_SKEW, 0xf0f0);
     200        micphy_write(sc, MII_KSZPHY_RX_DATA_PAD_SKEW, 0x0000);
     201        micphy_write(sc, MII_KSZPHY_TX_DATA_PAD_SKEW, 0x0000);
    197202#endif /* __rtems__ */
    198203
Note: See TracChangeset for help on using the changeset viewer.