commit | 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca | [log] [tgz] |
---|---|---|
author | Yisen.Zhuang\(Zhuangyuzeng\) <Yisen.Zhuang@huawei.com> | Sat Apr 23 17:05:13 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 26 01:09:18 2016 -0400 |
tree | 1c85eee829d3bdfa5c037f1b0b5e717d2f18873d | |
parent | 31d4446dca9112ce7b9eada8e6d631a7580e2feb [diff] |
net: hns: add attribute port-rst-offset for dsaf port node The reset offset for each port in a dsaf is different. The current code is not so readability. This patch adds configuration named port-rst-offset to make the code simple and more readability. If this attribute doesn't exist, default value of this attribute is equal to its port index. Signed-off-by: Yisen Zhuang <yisen.zhuang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>