net: pcs: Introducing support for DWC xpcs Energy Efficient Ethernet
authorMichael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Mon, 17 May 2021 09:43:31 +0000 (17:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 May 2021 22:53:58 +0000 (15:53 -0700)
commit7617af3d1a5e0938eb1fd2742f19bcea772c7f8d
tree095aa458ad85ec3f6db105e7e90a2dc8db7a85db
parent9d8a29aed03539a9012bff1232bacf062b5459cf
net: pcs: Introducing support for DWC xpcs Energy Efficient Ethernet

Add DWC xpcs EEE support callbacks.The callback function is used to
set EEE registers on xpcs.

xpcs transparent mode is enabled to allow PHY to detect MAC EEE status.

Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pcs/pcs-xpcs.c
include/linux/pcs/pcs-xpcs.h