commit | 0d768fc62def08628affa4a2abe4f319926027a9 | [log] [tgz] |
---|---|---|
author | Yisen.Zhuang\(Zhuangyuzeng\) <Yisen.Zhuang@huawei.com> | Sat Apr 23 17:05:14 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 26 01:09:18 2016 -0400 |
tree | 04b9e8c24ce0a2869238c9aaa31a09fe805505bd | |
parent | 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca [diff] |
net: hns: add attribute port-mode-offset for dsaf port node Port mode offset for each dsaf port is different. The current code is not so readability. This patch adds configuration named port-mode-offset to make the code simple and more readability. If port-mode-offset isn't exists, default value 0 will be used. 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>