Searched hist:"0 d768fc62def08628affa4a2abe4f319926027a9" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_mac.h | diff 0d768fc62def08628affa4a2abe4f319926027a9 Sat Apr 23 04:05:14 CDT 2016 Yisen.Zhuang\(Zhuangyuzeng\) <Yisen.Zhuang@huawei.com> 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>
|
H A D | hns_dsaf_misc.c | diff 0d768fc62def08628affa4a2abe4f319926027a9 Sat Apr 23 04:05:14 CDT 2016 Yisen.Zhuang\(Zhuangyuzeng\) <Yisen.Zhuang@huawei.com> 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>
|
H A D | hns_dsaf_mac.c | diff 0d768fc62def08628affa4a2abe4f319926027a9 Sat Apr 23 04:05:14 CDT 2016 Yisen.Zhuang\(Zhuangyuzeng\) <Yisen.Zhuang@huawei.com> 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>
|