Commit 250ddb1
committed
hw-mgmt: scripts: Fix detection of PDB devices on Q3450 systems
On Q3450 systems PDB devices are part of switch boards, they do not
reside on separate boards as on other systems. Unlike switch board
VR devices, PDB devices on different switch boards have adjacent i2c
bus numbers, so using swb_brd_bus_offset parameter, which has value
of 32, does not work. Introduce swb_brd_pdb_bus_offset parameter to
describe the i2c bus number offset of PDB devices.
Bug: 4818028
Signed-off-by: Felix Radensky <fradensky@nvidia.com>1 parent e1d9cf2 commit 250ddb1
2 files changed
+22
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
1214 | 1214 | | |
1215 | 1215 | | |
1216 | 1216 | | |
| 1217 | + | |
1217 | 1218 | | |
1218 | 1219 | | |
1219 | 1220 | | |
| |||
1261 | 1262 | | |
1262 | 1263 | | |
1263 | 1264 | | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
1264 | 1268 | | |
1265 | 1269 | | |
1266 | 1270 | | |
| |||
1537 | 1541 | | |
1538 | 1542 | | |
1539 | 1543 | | |
1540 | | - | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
1541 | 1549 | | |
1542 | 1550 | | |
1543 | 1551 | | |
| |||
1583 | 1591 | | |
1584 | 1592 | | |
1585 | 1593 | | |
1586 | | - | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
1587 | 1599 | | |
1588 | 1600 | | |
1589 | 1601 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
3512 | 3512 | | |
3513 | 3513 | | |
3514 | 3514 | | |
3515 | | - | |
| 3515 | + | |
3516 | 3516 | | |
3517 | 3517 | | |
3518 | 3518 | | |
| 3519 | + | |
| 3520 | + | |
| 3521 | + | |
| 3522 | + | |
| 3523 | + | |
3519 | 3524 | | |
3520 | 3525 | | |
3521 | 3526 | | |
| |||
0 commit comments