phy-c45.c (07fa3fa2572f2dee85beb8137f90ccf33d7206af) | phy-c45.c (3c1bcc8614db10803f1f57ef0295363917448cb2) |
---|---|
1/* 2 * Clause 45 PHY support 3 */ 4#include <linux/ethtool.h> 5#include <linux/export.h> 6#include <linux/mdio.h> 7#include <linux/mii.h> 8#include <linux/phy.h> --- 290 unchanged lines hidden (view full) --- 299 /* Do nothing for now */ 300 return 0; 301} 302EXPORT_SYMBOL_GPL(gen10g_no_soft_reset); 303 304int gen10g_config_init(struct phy_device *phydev) 305{ 306 /* Temporarily just say we support everything */ | 1/* 2 * Clause 45 PHY support 3 */ 4#include <linux/ethtool.h> 5#include <linux/export.h> 6#include <linux/mdio.h> 7#include <linux/mii.h> 8#include <linux/phy.h> --- 290 unchanged lines hidden (view full) --- 299 /* Do nothing for now */ 300 return 0; 301} 302EXPORT_SYMBOL_GPL(gen10g_no_soft_reset); 303 304int gen10g_config_init(struct phy_device *phydev) 305{ 306 /* Temporarily just say we support everything */ |
307 phydev->supported = SUPPORTED_10000baseT_Full; 308 phydev->advertising = SUPPORTED_10000baseT_Full; | 307 linkmode_zero(phydev->supported); |
309 | 308 |
309 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseT_Full_BIT, 310 phydev->supported); 311 linkmode_copy(phydev->advertising, phydev->supported); 312 |
|
310 return 0; 311} 312EXPORT_SYMBOL_GPL(gen10g_config_init); 313 314int gen10g_suspend(struct phy_device *phydev) 315{ 316 return 0; 317} --- 20 unchanged lines hidden --- | 313 return 0; 314} 315EXPORT_SYMBOL_GPL(gen10g_config_init); 316 317int gen10g_suspend(struct phy_device *phydev) 318{ 319 return 0; 320} --- 20 unchanged lines hidden --- |