net: hisilicon: Add an tx_desc to adapt HI13X1_GMAC
authorJiangfeng Xiao <xiaojiangfeng@huawei.com>
Tue, 9 Jul 2019 03:31:11 +0000 (11:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 21:29:27 +0000 (14:29 -0700)
commitd413779cdd934cc3bd281a90df865f5d9bd958a8
tree2596c5e65f4abb04bd8ccc4bdee5a65bc6b0ec9a
parent58f34098cf37cbd88e83a4ad8461fad37212559a
net: hisilicon: Add an tx_desc to adapt HI13X1_GMAC

HI13X1 changed the offsets and bitmaps for tx_desc
registers in the same peripheral device on different
models of the hip04_eth.

Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hip04_eth.c