]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: add syscon operation for dsaf
authorYisen.Zhuang\(Zhuangyuzeng\) <Yisen.Zhuang@huawei.com>
Sat, 23 Apr 2016 09:05:09 +0000 (17:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 05:09:17 +0000 (01:09 -0400)
commitd47ee40e74b762b01f7a5c1c9c98355c367f3360
treec863f0af6394ed97928470e47c82d06eeba69e35
parentcb99e00e8106290654f4fba47d1039bd01495b59
net: hns: add syscon operation for dsaf

This patch provides the read/write function for dsaf to
access the registers through syscon methods.

Signed-off-by: Daode Huang <huangdaode@hisilicon.com>
Signed-off-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h