qca807x.c (46e6acfe3501fa938af9c5bd730f0020235b08a2) qca807x.c (b2db6f4ace72e71fa09b8d1354f8ac9854140d74)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright (c) 2023 Sartura Ltd.
4 *
5 * Author: Robert Marko <robert.marko@sartura.hr>
6 * Christian Marangi <ansuelsmth@gmail.com>
7 *
8 * Qualcomm QCA8072 and QCA8075 PHY driver

--- 685 unchanged lines hidden (view full) ---

694 phydev->port = PORT_TP;
695}
696
697static const struct sfp_upstream_ops qca807x_sfp_ops = {
698 .attach = phy_sfp_attach,
699 .detach = phy_sfp_detach,
700 .module_insert = qca807x_sfp_insert,
701 .module_remove = qca807x_sfp_remove,
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright (c) 2023 Sartura Ltd.
4 *
5 * Author: Robert Marko <robert.marko@sartura.hr>
6 * Christian Marangi <ansuelsmth@gmail.com>
7 *
8 * Qualcomm QCA8072 and QCA8075 PHY driver

--- 685 unchanged lines hidden (view full) ---

694 phydev->port = PORT_TP;
695}
696
697static const struct sfp_upstream_ops qca807x_sfp_ops = {
698 .attach = phy_sfp_attach,
699 .detach = phy_sfp_detach,
700 .module_insert = qca807x_sfp_insert,
701 .module_remove = qca807x_sfp_remove,
702 .connect_phy = phy_sfp_connect_phy,
703 .disconnect_phy = phy_sfp_disconnect_phy,
702};
703
704static int qca807x_probe(struct phy_device *phydev)
705{
706 struct device_node *node = phydev->mdio.dev.of_node;
707 struct qca807x_shared_priv *shared_priv;
708 struct device *dev = &phydev->mdio.dev;
709 struct phy_package_shared *shared;

--- 130 unchanged lines hidden ---
704};
705
706static int qca807x_probe(struct phy_device *phydev)
707{
708 struct device_node *node = phydev->mdio.dev.of_node;
709 struct qca807x_shared_priv *shared_priv;
710 struct device *dev = &phydev->mdio.dev;
711 struct phy_package_shared *shared;

--- 130 unchanged lines hidden ---