vitesse.c (cdd38c5f1ce4398ec58fec95904b75824daab7b5) | vitesse.c (1953feb022154e19c5953988fd3dd65ebc769dc9) |
---|---|
1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Driver for Vitesse PHYs 4 * 5 * Author: Kriston Carson 6 */ 7 8#include <linux/kernel.h> --- 235 unchanged lines hidden (view full) --- 244 * with the power-on/reset defaults. Writing some registers will 245 * just make autonegotiation permanently fail. 246 */ 247 return 0; 248} 249 250/* This adds a skew for both TX and RX clocks, so the skew should only be 251 * applied to "rgmii-id" interfaces. It may not work as expected | 1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Driver for Vitesse PHYs 4 * 5 * Author: Kriston Carson 6 */ 7 8#include <linux/kernel.h> --- 235 unchanged lines hidden (view full) --- 244 * with the power-on/reset defaults. Writing some registers will 245 * just make autonegotiation permanently fail. 246 */ 247 return 0; 248} 249 250/* This adds a skew for both TX and RX clocks, so the skew should only be 251 * applied to "rgmii-id" interfaces. It may not work as expected |
252 * on "rgmii-txid", "rgmii-rxid" or "rgmii" interfaces. */ | 252 * on "rgmii-txid", "rgmii-rxid" or "rgmii" interfaces. 253 */ |
253static int vsc8601_add_skew(struct phy_device *phydev) 254{ 255 int ret; 256 257 ret = phy_read(phydev, MII_VSC8601_EPHY_CTL); 258 if (ret < 0) 259 return ret; 260 --- 261 unchanged lines hidden --- | 254static int vsc8601_add_skew(struct phy_device *phydev) 255{ 256 int ret; 257 258 ret = phy_read(phydev, MII_VSC8601_EPHY_CTL); 259 if (ret < 0) 260 return ret; 261 --- 261 unchanged lines hidden --- |