diff options
author | Yisen Zhuang <yisen.zhuang@huawei.com> | 2023-09-06 15:20:17 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-09-07 11:08:03 +0200 |
commit | 674d9591a32d01df75d6b5fffed4ef942a294376 (patch) | |
tree | 11b1d564c55beb07e0c1e43dcdfcbc355dc3c6c7 /scripts/gdb/linux/modules.py | |
parent | fa5564945f7d15ae2390b00c08b6abaef0165cda (diff) |
net: hns3: fix the port information display when sfp is absent
When sfp is absent or unidentified, the port type should be
displayed as PORT_OTHERS, rather than PORT_FIBRE.
Fixes: 88d10bd6f730 ("net: hns3: add support for multiple media type")
Signed-off-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions