> + if (phy_register & MII_ADDR_C45) { > + u8 dev_num = (phy_register >> 16) & 0x1f; > + u16 reg = (u16)(phy_register & 0xffff); Hi Daniel You can use the helpers mdio_phy_id_is_c45() mdio_phy_id_prtad() mdio_phy_id_devad() Andrew