commit | 5d2525f7b8a7df810c3fbc548a91ba6e3cde578a | [log] [tgz] |
---|---|---|
author | Kejian Yan <yankejian@huawei.com> | Fri Jul 01 17:34:12 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 01 16:56:52 2016 -0400 |
tree | 270e1b1a1ce2565cb700d2a7ad0030fb7f4a0696 | |
parent | 2e14b218f5f702520a99193fd7dea9888d734804 [diff] |
net: hns: add media-type property for hns It is PORT_TP type if the service port is GE mode. It is wrong to judge the port type by using if it is service port. Adding the media type to know port type. Reported-by: Jinchuan Tian <tianjinchuan1@huawei.com> Signed-off-by: Kejian Yan <yankejian@huawei.com> Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>