// SPDX-License-Identifier: GPL-2.0 /* Copyright Sunplus Technology Co., Ltd. * All rights reserved. */ #include <linux/netdevice.h> #include <linux/bitfield.h> #include <linux/of_mdio.h> #include "spl2sw_register.h" #include "spl2sw_define.h" #include "spl2sw_phy.h" static void spl2sw_mii_link_change(struct net_device *ndev) { … } int spl2sw_phy_connect(struct spl2sw_common *comm) { … } void spl2sw_phy_remove(struct spl2sw_common *comm) { … }