Home
last modified time | relevance | path

Searched hist:"850 bfa3b78ea8849fef78ed74f5f2ccf947db0ca" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_mac.hdiff 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca Sat Apr 23 04:05:13 CDT 2016 Yisen.Zhuang\(Zhuangyuzeng\) <Yisen.Zhuang@huawei.com> 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>
H A Dhns_dsaf_misc.cdiff 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca Sat Apr 23 04:05:13 CDT 2016 Yisen.Zhuang\(Zhuangyuzeng\) <Yisen.Zhuang@huawei.com> 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>
H A Dhns_dsaf_mac.cdiff 850bfa3b78ea8849fef78ed74f5f2ccf947db0ca Sat Apr 23 04:05:13 CDT 2016 Yisen.Zhuang\(Zhuangyuzeng\) <Yisen.Zhuang@huawei.com> 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>