⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ag7100_phy.h

📁 TP-LINK公司TL-WR941N无线路由器的Bootloader U_BOOT源代码
💻 H
字号:
#ifndef _AG7100_PHY_H#define _AG7100_PHY_H#ifdef CFG_ATHRS26_PHY#define ag7100_phy_setup(unit)          athrs26_phy_setup(unit)#define ag7100_phy_link(unit)           miiphy_link("eth0", CFG_PHY_ADDR)#define ag7100_phy_duplex(unit)         miiphy_duplex("eth0", CFG_PHY_ADDR)#define ag7100_phy_speed(unit)          miiphy_speed("eth0", CFG_PHY_ADDR)#endif#ifdef CFG_VSC8201_PHY#define ag7100_phy_setup(unit)          vsc_phy_setup(unit)#define ag7100_phy_link(unit)           miiphy_link("eth0", CFG_PHY_ADDR)#define ag7100_phy_duplex(unit)         miiphy_duplex("eth0", CFG_PHY_ADDR)#define ag7100_phy_speed(unit)          miiphy_speed("eth0", CFG_PHY_ADDR)#endif#ifdef CFG_VSC8601_PHY#define ag7100_phy_setup(unit)          vsc8601_phy_setup(unit)#define ag7100_phy_link(unit)           miiphy_link("eth0", CFG_PHY_ADDR)#define ag7100_phy_duplex(unit)         miiphy_duplex("eth0", CFG_PHY_ADDR)#define ag7100_phy_speed(unit)          miiphy_speed("eth0", CFG_PHY_ADDR)#endif#ifdef CFG_IP175B_PHY#define ag7100_phy_setup(unit)          ip_phySetup(unit)#define ag7100_phy_link(unit)           ip_phyIsUp(unit)#define ag7100_phy_duplex(unit)         ip_phyIsFullDuplex(unit)#define ag7100_phy_speed(unit)          ip_phySpeed(unit)#endif#ifdef CONFIG_ADMTEK_PHY/*#define ag7100_phy_setup(unit)          miiphy_reset("eth0", CFG_PHY_ADDR) #define ag7100_phy_link(unit)           miiphy_link("eth0", CFG_PHY_ADDR)#define ag7100_phy_duplex(unit)         miiphy_duplex("eth0", CFG_PHY_ADDR)#define ag7100_phy_speed(unit)          miiphy_speed("eth0", CFG_PHY_ADDR)*/#define ag7100_phy_setup(unit)          adm_phySetup(unit)#define ag7100_phy_link(unit)           adm_phyIsUp(unit)#define ag7100_phy_duplex(unit)         adm_phyIsFullDuplex(unit)#define ag7100_phy_speed(unit)          adn_phySpeed(unit)#endif#endif /*_AG7100_PHY_H*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -