OSDN Git Service

net: phy: add qca8081 read_status
authorLuo Jie <luoj@codeaurora.org>
Sun, 24 Oct 2021 08:27:30 +0000 (16:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2021 13:04:18 +0000 (14:04 +0100)
commit79c7bc0521545fd11a5cf52b946f71e2ded213d3
treee76a12dd30005bad4161bdce702c3894cf11dd3e
parentdaf61732a49a2eca2db24bdc550395fa392d542b
net: phy: add qca8081 read_status

1. Separate the function at803x_read_specific_status from
the at803x_read_status, since it can be reused by the
read_status of qca8081 phy driver excepting adding the
2500M speed.

2. Add the qca8081 read_status function qca808x_read_status.

Signed-off-by: Luo Jie <luoj@codeaurora.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c