Skip to content

Commit 6c9e5b9

Browse files
committed
cahnge ofw
1 parent 6b395bb commit 6c9e5b9

File tree

1 file changed

+1
-1
lines changed
  • components/drivers/include/drivers

1 file changed

+1
-1
lines changed

components/drivers/include/drivers/phy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ void rt_phy_mmd_start_indirect(struct rt_phy_device *phydev, int devad, int regn
126126

127127
rt_err_t rt_phy_device_register(struct rt_phy_device *pdev);
128128
rt_err_t rt_phy_driver_register(struct rt_phy_driver *pdrv);
129-
rt_err_t rt_ofw_get_phyid(struct rt_ofw_node *np, rt_uint16_t *vendor, rt_uint16_t *device);
129+
rt_err_t rt_ofw_get_phyid(struct rt_ofw_node *np,rt_uint32_t *id);
130130

131131
struct rt_phy_device *rt_phy_device_create(struct mii_bus *bus, int addr, rt_uint32_t phy_id, rt_bool_t is_c45);
132132
struct rt_phy_device *rt_phy_find_by_mask(struct mii_bus *bus, unsigned int phy_mask);

0 commit comments

Comments
 (0)