marvell-88x2222.c (a23e1966932464e1c5226cb9ac4ce1d5fc10ba22) marvell-88x2222.c (b2db6f4ace72e71fa09b8d1354f8ac9854140d74)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Marvell 88x2222 dual-port multi-speed ethernet transceiver.
4 *
5 * Supports:
6 * XAUI on the host side.
7 * 1000Base-X or 10GBase-R on the line side.
8 * SGMII over 1000Base-X.

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

548
549static const struct sfp_upstream_ops sfp_phy_ops = {
550 .module_insert = mv2222_sfp_insert,
551 .module_remove = mv2222_sfp_remove,
552 .link_up = mv2222_sfp_link_up,
553 .link_down = mv2222_sfp_link_down,
554 .attach = phy_sfp_attach,
555 .detach = phy_sfp_detach,
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Marvell 88x2222 dual-port multi-speed ethernet transceiver.
4 *
5 * Supports:
6 * XAUI on the host side.
7 * 1000Base-X or 10GBase-R on the line side.
8 * SGMII over 1000Base-X.

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

548
549static const struct sfp_upstream_ops sfp_phy_ops = {
550 .module_insert = mv2222_sfp_insert,
551 .module_remove = mv2222_sfp_remove,
552 .link_up = mv2222_sfp_link_up,
553 .link_down = mv2222_sfp_link_down,
554 .attach = phy_sfp_attach,
555 .detach = phy_sfp_detach,
556 .connect_phy = phy_sfp_connect_phy,
557 .disconnect_phy = phy_sfp_disconnect_phy,
556};
557
558static int mv2222_probe(struct phy_device *phydev)
559{
560 struct device *dev = &phydev->mdio.dev;
561 struct mv2222_data *priv = NULL;
562
563 __ETHTOOL_DECLARE_LINK_MODE_MASK(supported) = { 0, };

--- 58 unchanged lines hidden ---
558};
559
560static int mv2222_probe(struct phy_device *phydev)
561{
562 struct device *dev = &phydev->mdio.dev;
563 struct mv2222_data *priv = NULL;
564
565 __ETHTOOL_DECLARE_LINK_MODE_MASK(supported) = { 0, };

--- 58 unchanged lines hidden ---