]> git.baikalelectronics.ru Git - kernel.git/commit
net: hisilicon: HI13X1_GMAX skip write LOCAL_PAGE_REG
authorJiangfeng Xiao <xiaojiangfeng@huawei.com>
Tue, 9 Jul 2019 03:31:05 +0000 (11:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 21:29:26 +0000 (14:29 -0700)
commit2546fe5e64c291402b3379d529576e5beddf3ebf
tree993e20558018278bea976f5d758b70fdd392d617
parenta69110f8b6a5b61b85ec0f44d717bfc06c6e5aba
net: hisilicon: HI13X1_GMAX skip write LOCAL_PAGE_REG

HI13X1_GMAC changed the offsets and bitmaps for
GE_TX_LOCAL_PAGE_REG registers in the same peripheral
device on different models of the hip04_eth. With the
default configuration, HI13X1_GMAC can also work without
any writes to the GE_TX_LOCAL_PAGE_REG register.

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