diff options
| author | 2022-04-07 09:17:36 +0800 | |
|---|---|---|
| committer | 2022-04-08 12:20:52 +0100 | |
| commit | 737ca352569e744bf753b4522a6f91b120a734f1 (patch) | |
| tree | bada66a52677c58fe49739d92a560f979ee37a24 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
| parent | net: atm: remove the ambassador driver (diff) | |
| download | linux-dev-737ca352569e744bf753b4522a6f91b120a734f1.tar.xz linux-dev-737ca352569e744bf753b4522a6f91b120a734f1.zip | |
net: mdio: aspeed: move reg accessing part into separate functions
Add aspeed_mdio_op() and aseed_mdio_get_data() for register accessing.
aspeed_mdio_op() handles operations, write command to control register,
then check and wait operations is finished (bit 31 is cleared).
aseed_mdio_get_data() fetchs the result value of operation from data
register.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions
