Skip to content

Commit

Permalink
hw-mgmt: scripts: Fix ASIC PCIE mapping for QM3400
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Radensky <[email protected]>
  • Loading branch information
felixradensky committed Mar 6, 2024
1 parent 95bd421 commit 2fd1167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr/usr/bin/hw-management.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2638,8 +2638,8 @@ set_asic_pci_id()
HI157)
echo -n "$asics" | grep -c '^' > "$config_path"/asic_num
[ -z "$asics" ] && return
asic1_pci_bus_id=`echo $asics | awk '{print $1}'`
asic2_pci_bus_id=`echo $asics | awk '{print $2}'`
asic1_pci_bus_id=`echo $asics | awk '{print $2}'`
asic2_pci_bus_id=`echo $asics | awk '{print $1}'`
echo "$asic1_pci_bus_id" > "$config_path"/asic1_pci_bus_id
echo "$asic2_pci_bus_id" > "$config_path"/asic2_pci_bus_id
;;
Expand Down

0 comments on commit 2fd1167

Please sign in to comment.