aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorMathias Nyman <[email protected]>2023-10-19 13:29:08 +0300
committerGreg Kroah-Hartman <[email protected]>2023-10-21 12:38:53 +0200
commite2d3ac9cd917c2b0576e4a571387464053fdc507 (patch)
tree3cacfbbe7a270c2e29f5db06cd02e7cc209c6662 /net/lapb/lapb_in.c
parent15626ba96559ed82bba1758da0ea1f260c5c55e6 (diff)
xhci: expand next_trb() helper to support more ring types
The next_trb() helper relies on a link TRB at the end of a ring segment to know a segment ends. This works well with transfer rings that use link trbs, but not with event rings. Event rings segments are always filled by host to segment size before moving to next segment. It does not use link TRBs Check for both link trb and full segment in next_trb() helper to support event rings. Useful if several interrupters with several event rings are supported. Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions