marvell10g.c (a23e1966932464e1c5226cb9ac4ce1d5fc10ba22) | marvell10g.c (b2db6f4ace72e71fa09b8d1354f8ac9854140d74) |
---|---|
1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Marvell 10G 88x3310 PHY driver 4 * 5 * Based upon the ID registers, this PHY appears to be a mixture of IPs 6 * from two different companies. 7 * 8 * There appears to be several different data paths through the PHY which --- 489 unchanged lines hidden (view full) --- 498 return -EINVAL; 499 } 500 return 0; 501} 502 503static const struct sfp_upstream_ops mv3310_sfp_ops = { 504 .attach = phy_sfp_attach, 505 .detach = phy_sfp_detach, | 1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Marvell 10G 88x3310 PHY driver 4 * 5 * Based upon the ID registers, this PHY appears to be a mixture of IPs 6 * from two different companies. 7 * 8 * There appears to be several different data paths through the PHY which --- 489 unchanged lines hidden (view full) --- 498 return -EINVAL; 499 } 500 return 0; 501} 502 503static const struct sfp_upstream_ops mv3310_sfp_ops = { 504 .attach = phy_sfp_attach, 505 .detach = phy_sfp_detach, |
506 .connect_phy = phy_sfp_connect_phy, 507 .disconnect_phy = phy_sfp_disconnect_phy, |
|
506 .module_insert = mv3310_sfp_insert, 507}; 508 509static int mv3310_probe(struct phy_device *phydev) 510{ 511 const struct mv3310_chip *chip = to_mv3310_chip(phydev); 512 struct mv3310_priv *priv; 513 u32 mmd_mask = MDIO_DEVS_PMAPMD | MDIO_DEVS_AN; --- 979 unchanged lines hidden --- | 508 .module_insert = mv3310_sfp_insert, 509}; 510 511static int mv3310_probe(struct phy_device *phydev) 512{ 513 const struct mv3310_chip *chip = to_mv3310_chip(phydev); 514 struct mv3310_priv *priv; 515 u32 mmd_mask = MDIO_DEVS_PMAPMD | MDIO_DEVS_AN; --- 979 unchanged lines hidden --- |