net: phy: smsc: prepare for making edpd wait period configurable
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 2 Apr 2023 15:14:35 +0000 (17:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Apr 2023 09:08:42 +0000 (10:08 +0100)
commit1ce658693b089ee753260eae78a3ea572bc4b3fb
tree89b23971533b1556f536f8c973500a8cabdd3f3d
parenta620511080960a72a40c58c55945e41cc3052f6f
net: phy: smsc: prepare for making edpd wait period configurable

Add a member edpd_max_wait_ms to the private data structure in preparation
of making the wait period configurable by supporting the edpd phy tunable.

v2:
- rename constant to EDPD_MAX_WAIT_DFLT_MS

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/smsc.c