Revert "Revert "net: phy: introduce phydev->port""

This reverts commit 9eb951b2e1 as the KABI
can be updated at this point in time.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ia87e7edfae9240ed890225d32dc22d4c17dca34c
This commit is contained in:
Greg Kroah-Hartman
2021-04-05 11:16:43 +02:00
committed by Todd Kjos
parent 81d375222a
commit c4ac290425
10 changed files with 36 additions and 4 deletions

View File

@@ -499,6 +499,7 @@ struct macsec_ops;
*
* @speed: Current link speed
* @duplex: Current duplex
* @port: Current port
* @pause: Current pause
* @asym_pause: Current asymmetric pause
* @supported: Combined MAC/PHY supported linkmodes
@@ -577,6 +578,7 @@ struct phy_device {
*/
int speed;
int duplex;
int port;
int pause;
int asym_pause;
u8 master_slave_get;