diff --git a/src/add-ons/kernel/busses/usb/xhci_hardware.h b/src/add-ons/kernel/busses/usb/xhci_hardware.h index 673b2af240..d6be64de6c 100644 --- a/src/add-ons/kernel/busses/usb/xhci_hardware.h +++ b/src/add-ons/kernel/busses/usb/xhci_hardware.h @@ -293,8 +293,8 @@ #define TRB_3_TBC_GET(x) (((x) >> 7) & 0x3) #define TRB_3_TLBPC(x) (((x) & 0xf) << 16) #define TRB_3_TLBPC_GET(x) (((x) >> 16) & 0xf) -#define TRB_3_ENDPOINT(x) (((x) & 0xf) << 16) -#define TRB_3_ENDPOINT_GET(x) (((x) >> 16) & 0xf) +#define TRB_3_ENDPOINT(x) (((x) & 0x1f) << 16) +#define TRB_3_ENDPOINT_GET(x) (((x) >> 16) & 0x1f) #define TRB_3_FRID(x) (((x) & 0x7ff) << 20) #define TRB_3_FRID_GET(x) (((x) >> 20) & 0x7ff) #define TRB_3_SLOT(x) (((x) & 0xff) << 24)