dm9161a.h
Go to the documentation of this file.
00001
00038 #ifndef DM9161A_H
00039 #define DM9161A_H
00040 
00041 #define NIC_PHY_ADDR 31
00042 #define NIC_PHY_ID   0x0181b8a0
00043 
00044 #define PHY_INIT() \
00045     do { \
00046         phy_pinGpio(); \
00047         /* Disable RMII and TESTMODE */ \
00048         phy_pinSet(PHY_MII_PINS & ~(PHY_COL_BIT | PHY_RXDV_BIT)); \
00049         phy_resetPulse(); \
00050     } while (0)
00051 #endif /* DM9161A_H */