mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
ifconfig: fix reporting optics on most 100g interfaces
This fixes a bug where optics on 100G and faster NICs were not properly reported. (cherry picked from commit 709348c21351a783ff0025519d1f7cf884771077)
This commit is contained in:
parent
7577dae4d6
commit
b429d50df9
1 changed files with 1 additions and 0 deletions
|
|
@ -181,6 +181,7 @@ get_qsfp_info(struct i2c_info *ii, struct ifconfig_sfp_info *sfp)
|
|||
if (code & SFF_8636_EXT_COMPLIANCE) {
|
||||
read_i2c(ii, SFF_8436_BASE, SFF_8436_OPTIONS_START, 1,
|
||||
&sfp->sfp_eth_ext);
|
||||
sfp->sfp_eth_1040g = code;
|
||||
} else {
|
||||
/* Check 10/40G Ethernet class only */
|
||||
sfp->sfp_eth_1040g =
|
||||
|
|
|
|||
Loading…
Reference in a new issue