Commit b981634
committed
hw-mgmt: scripts: fix asic_ready state on hw-mgmt init.
If the SDK is already loaded when hw-mgmt initializes, the asic_ready
attribute remains in its default state (0). As a result, the system
reports an incorrect ASIC readiness status ("not ready") even though the
ASIC is actually ready.
Fix: Detect the current ASIC state during initialization and set
asicX_ready to the correct initial value.
bug: 4851807
Signed-off-by: Oleksandr Shamray <oleksandrs@nvidia.com>1 parent 0e9d191 commit b981634
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3050 | 3050 | | |
3051 | 3051 | | |
3052 | 3052 | | |
3053 | | - | |
| 3053 | + | |
| 3054 | + | |
| 3055 | + | |
| 3056 | + | |
| 3057 | + | |
| 3058 | + | |
| 3059 | + | |
| 3060 | + | |
| 3061 | + | |
3054 | 3062 | | |
3055 | | - | |
| 3063 | + | |
3056 | 3064 | | |
3057 | 3065 | | |
3058 | 3066 | | |
| |||
0 commit comments