XHCI fix naming bug - use XHCI_SLCTX_CTX_ENTRIES instead of XHCI_SLCTX_SLOT_STATE
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 3m34s
Build documentation / build-and-deploy (push) Successful in 2m12s

This commit is contained in:
2026-04-01 22:41:23 +02:00
parent cd7d2d5d7d
commit 14ed21f772
3 changed files with 24 additions and 24 deletions

View File

@@ -768,7 +768,7 @@ static void xhci_pdevice_setup_addressing (struct xhci* xhci, struct xhci_pdevic
/* Add slot and endpoint 0 */
ctx64->ctrl.dw[1] = (1 << 0) | (1 << 1);
ctx64->slot.dw[0] = (1 << XHCI_SLCTX_SLOT_STATE) | (speed << XHCI_SLCTX_SPEED);
ctx64->slot.dw[0] = (1 << XHCI_SLCTX_CTX_ENTRIES) | (speed << XHCI_SLCTX_SPEED);
ctx64->slot.dw[1] = ((pdevice->xhci_port->port_value + 1) << XHCI_SLCTX_ROOTHUBPRNUM);
ctx64->endpoints[0].dw[0] = 0;
@@ -784,7 +784,7 @@ static void xhci_pdevice_setup_addressing (struct xhci* xhci, struct xhci_pdevic
ctx32->ctrl.dw[1] = (1 << 0) | (1 << 1);
ctx32->slot.dw[0] = (1 << XHCI_SLCTX_SLOT_STATE) | (speed << XHCI_SLCTX_SPEED);
ctx32->slot.dw[0] = (1 << XHCI_SLCTX_CTX_ENTRIES) | (speed << XHCI_SLCTX_SPEED);
ctx32->slot.dw[1] = ((pdevice->xhci_port->port_value + 1) << XHCI_SLCTX_ROOTHUBPRNUM);
ctx32->endpoints[0].dw[1] = (3 << XHCI_EPCTX_ERR_COUNT) |