The xHCI slot ID is one-based, not zero-based. Fix the length of the xhci->slot[] array to account for this, and add assertions to check that the hardware returns a valid slot ID in response to the Enable Slot command. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
| 2622 |
|
2622 |
|
| 2623 |
|
2623 |
|
| 2624 |
|
2624 |
|
|
2625 |
|
|
| 2625 |
|
2626 |
|
| 2626 |
|
2627 |
|
| 2627 |
|
2628 |
|
|
|
||
| 2761 |
|
2762 |
|
| 2762 |
|
2763 |
|
| 2763 |
|
2764 |
|
| 2764 |
|
|
|
|
2765 |
|
|
| 2765 |
|
2766 |
|
| 2766 |
|
2767 |
|
| 2767 |
|
2768 |
|
|
|
||
| 2813 |
|
2814 |
|
| 2814 |
|
2815 |
|
| 2815 |
|
2816 |
|
| 2816 |
|
|
|
|
2817 |
|
|
| 2817 |
|
2818 |
|
| 2818 |
|
2819 |
|
| 2819 |
|
2820 |
|