Skip to content

Commit

Permalink
hw-mgmt: scripts: Update the reset attribute count for SN4280
Browse files Browse the repository at this point in the history
The reset from carrier reset attribute was removed. So
updating the total number of reset reasons to 17.

Signed-off-by: Ciju Rajan K <crajank@nvidia.com>
  • Loading branch information
ciju-nvidia committed Jul 12, 2024
1 parent 5edc235 commit 66c10ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion usr/usr/bin/hw-management.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ asic_chipup_retry=2
device_connect_retry=2
chipup_log_size=4096
reset_dflt_attr_num=18
smart_switch_reset_attr_num=17
chipup_retry_count=3

mctp_bus=""
Expand Down Expand Up @@ -2224,7 +2225,7 @@ smart_switch_common()
echo -n "${smart_switch_dpu_events[@]}" > "$dpu_events_file"
i2c_comex_mon_bus_default=$((smart_switch_cpu_bus_offset+5))
i2c_bus_def_off_eeprom_cpu=$((smart_switch_cpu_bus_offset+6))
echo "$reset_dflt_attr_num" > $config_path/reset_attr_num
echo "$smart_switch_reset_attr_num" > $config_path/reset_attr_num
}

n51xxld_specific()
Expand Down

0 comments on commit 66c10ac

Please sign in to comment.