net/axgbe: use common bit operations API
authorJoyce Kong <joyce.kong@arm.com>
Mon, 27 Apr 2020 07:58:53 +0000 (15:58 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 16 Jun 2020 12:34:42 +0000 (14:34 +0200)
commit4693ae4a74872bac8a270f4e30dffa950fc7540e
tree8ada3e6c8fad36f0ac07f79af2587289869c4fe8
parent7660614c11e2079ac1bb09671f3058a6d1c7c755
net/axgbe: use common bit operations API

Remove its own bit operation APIs and use the common one,
this can reduce the code duplication largely.

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
drivers/net/axgbe/axgbe_common.h
drivers/net/axgbe/axgbe_ethdev.c
drivers/net/axgbe/axgbe_ethdev.h
drivers/net/axgbe/axgbe_mdio.c