Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GTI Hack: remove to monitoring optic sensor with thor nic
Summary: # Description Thor2 uses a QSFP connector instead of an OSFP connector and does not have optical sensors. The mapping table for the result of "kv get swb_nic_source": 0: CX7 1: IB CX7 2: Thor2 X-link: facebookexternal/openbmc.quanta#4426 Test Plan: Build and test pass with GTI MI300 system and thor2 NIC root@bmc-oob:~# kv get swb_nic_source 2 root@bmc-oob:~# fw-util swb --version swb_nic0 SWB_NIC0 Version: 230.2.53.0 root@bmc-oob:~# sensor-util swb swb: SWB_NIC0_TEMP_C (0x1) : 51.000 C | (ok) SWB_NIC0_VOLT_V (0x2) : 12.120 Volts | (ok) SWB_NIC0_CURR_A (0x3) : 1.123 Amps | (ok) SWB_NIC0_PWR_W (0x4) : 13.574 Watts | (ok) Reviewed By: wangx6f Differential Revision: D62035071 fbshipit-source-id: a628fa322fbaf1ef7e03a93e646e699d4bb13ee0
- Loading branch information