Changeset 26a8cee in rtems-libbsd


Ignore:
Timestamp:
Aug 11, 2016, 7:41:49 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
5283630d2c9d40deb0183696d278e02644fe4326, freebsd-9.3, bc2ba9a9cdc7381c2a4f2ae6ee303be636f31368
Children:
691ed15
Parents:
62c4755
Message:

e1000phy: Provide local support for Marvell's 88E1512 PHY.

This PHY is close to the standard PHY support so providing enough to
allow the PHY probe to pass lets it work on a MicroZed?.

File:
1 edited

Legend:

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

    r62c4755 r26a8cee  
    6161#include <rtems/bsd/local/miidevs.h>
    6262
     63#ifdef __rtems__
     64 /* hacked into here to avoid having to touch the geerated header file. */
     65 #define MII_MODEL_xxMARVELL_E1512       0x001d
     66 #define MII_STR_xxMARVELL_E1512 "Marvell 88E1512 Gigabit PHY"
     67#endif /* __rtems__ */
     68
    6369#include <dev/mii/e1000phyreg.h>
    6470
     
    113119        MII_PHY_DESC(xxMARVELL, E3016),
    114120        MII_PHY_DESC(xxMARVELL, PHYG65G),
     121#if __rtems__
     122        MII_PHY_DESC(xxMARVELL, E1512),
     123#endif /* __rtems__ */
    115124        MII_PHY_END
    116125};
Note: See TracChangeset for help on using the changeset viewer.