Skip to content
Commit 49f2985a authored by Jonathan Bell's avatar Jonathan Bell Committed by Phil Elwell
Browse files

xhci: refactor out TRBS_PER_SEGMENT define in runtime code



In anticipation of adjusting the number of utilised TRBs in a ring
segment, add trbs_per_seg to struct xhci_ring and use this instead
of a compile-time define.

Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.com>
parent add55da0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment