net: phy: add API to read 802.3-c45 IDs
authorXu Liang <lxu@maxlinear.com>
Mon, 19 Jul 2021 05:32:11 +0000 (13:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2021 13:55:20 +0000 (06:55 -0700)
commit8b72b301b442907742c1af1b8fcb52e351a2aac1
tree37e585f589fdfe73faba67e2ba8f8b10338103bd
parent08f329fcddd50dc6f12f9bdbf7e4c9afce6e0d82
net: phy: add API to read 802.3-c45 IDs

Add API to read 802.3-c45 IDs so that C22/C45 mixed device can use
C45 APIs without failing ID checks.

Signed-off-by: Xu Liang <lxu@maxlinear.com>
Acked-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c
include/linux/phy.h