This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
我的客户希望使用 DP83822 PHY 替换 AM2432上的 DP83869。 我已检查 SDK 8.2.0.31、我们有用于 DP683826E 的驱动程序。 我还将介绍 AM64 SDK 中的 PHY 驱动程序、其中包含 DP83822的驱动程序源代码。 根据 DP83822 Linux 驱动程序、它可用于 DP83826。
三、会议的报告
定义 DP83822_PHY_DRIVER (_id、_name)\
{\
PHY_ID_MATH_MODEL (_id)、\
.name =(_name)、\
/* PHY_basic_features */\
.probe = dp83822_probe、\
.SOFT_RESET = dp83822_phy_reset、\
config_init = dp83822_config_init、\
read_status = dp83822_read_status、\
get_wol = dp83822_get_wol、\
.set_wol = dp83822_set_wol、\
.ack_interrupt = dp83822_ack_interrupt、\
config_intr = dp83822_config_intr、\
.suspend = dp83822_suspend、\
.resume = dp83822_resume、\
}
#define DP8382X_PHY_DRIVER (_id、_name)\
{\
PHY_ID_MATH_MODEL (_id)、\
.name =(_name)、\
/* PHY_basic_features */\
.SOFT_RESET = dp83822_phy_reset、\
config_init = dp8382x_config_init、\
get_wol = dp83822_get_wol、\
.set_wol = dp83822_set_wol、\
.ack_interrupt = dp83822_ack_interrupt、\
config_intr = dp83822_config_intr、\
.suspend = dp83822_suspend、\
.resume = dp83822_resume、\
}
静态结构 phy_driver dp83822_driver[]={
DP83822_PHY_DRIVER (DP83822_PHY_ID、"TI DP83822")、
DP8382X_PHY_DRIVER (DP83825I_PHY_ID、"TI DP83825I")、
DP8382X_PHY_DRIVER (DP83826C_PHY_ID、"TI DP83826C")、
DP8382X_PHY_DRIVER (DP83826NC_PHY_ID、"TI DP83826NC")、
DP8382X_PHY_DRIVER (DP83825S_PHY_ID、"TI DP83825S")、
DP8382X_PHY_DRIVER (DP83825CM_PHY_ID、"TI DP83825M")、
DP8382X_PHY_DRIVER (DP83825CS_PHY_ID、"TI DP83825CS")、
};
MODULE_phy_driver (dp83822_driver);
静态结构 MDIO_DEVICE_ID __MORT_unused dp83822_tbl[]={
{DP83822_PHY_ID、0xffffff0}、
{DP83825I_PHY_ID、0xffffff0}、
{DP83826C_PHY_ID、0xffffff0}、
{DP83826NC_PHY_ID、0xffffff0}、
{DP83825S_PHY_ID、0xffffff0}、
{DP83825CM_PHY_ID、0xffffff0}、
{DP83825CS_PHY_ID、0xffffff0}、
{},
};
MODULE_DEVICE_TABLE (MDIO、dp83822_tbl);
MODULE_DESCRIPTION ("德州仪器(TI) DP83822 PHY 驱动程序");
module_Author ("Dan Murphy <dmurphy@ti.com);
MODULE_LICENSE ("GPL v2");
我想知道客户是否可以将 DP83826驱动程序直接与 MCU+ SDK 中的 DP83822 PHY 搭配使用? 可以帮助我确认吗? 谢谢。
此致
Andre