3 * \brief Media Independent Interface (MII) driver
4 * \version $Revision: 1.3 $
5 * \author Michael Norman
7 * \warning This driver assumes that FEC0 is used for all MII management
8 * communications. For dual PHYs, etc., insure that FEC0_MDC and
9 * FEC0_MDIO are connected to the PHY's MDC and MDIO.
15 /*******************************************************************/
18 mii_write(int, int, uint16
);
21 mii_read(int, int, uint16
*);
26 /* MII Speed Settings */
28 MII_10BASE_T
, /*!< 10Base-T operation */
29 MII_100BASE_TX
/*!< 100Base-TX operation */
32 /* MII Duplex Settings */
34 MII_HDX
, /*!< half-duplex */
35 MII_FDX
/*!< full-duplex */
38 #define MII_TIMEOUT 0x10000
39 #define MII_LINK_TIMEOUT 0x10000
41 /*******************************************************************/