···277277EXPORT_SYMBOL(phy_device_register);278278279279/**280280+ * phy_find_first - finds the first PHY device on the bus281281+ * @bus: the target MII bus282282+ */283283+struct phy_device *phy_find_first(struct mii_bus *bus)284284+{285285+ int addr;286286+287287+ for (addr = 0; addr < PHY_MAX_ADDR; addr++) {288288+ if (bus->phy_map[addr])289289+ return bus->phy_map[addr];290290+ }291291+ return NULL;292292+}293293+EXPORT_SYMBOL(phy_find_first);294294+295295+/**280296 * phy_prepare_link - prepares the PHY layer to monitor link status281297 * @phydev: target phy_device struct282298 * @handler: callback function for link status change notifications