Skip to content

Commit bbbca9b

Browse files
aborzeszwesteri
authored andcommitted
thunderbolt: Add missing documentation in nhi_regs.h ring_desc structure
Add missing description of fields in ring_desc struct found in "nhi_regs.h". No functional changes. Signed-off-by: Alan Borzeszkowski <alan.borzeszkowski@linux.intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
1 parent a385238 commit bbbca9b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/thunderbolt/nhi_regs.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ enum ring_flags {
2121

2222
/**
2323
* struct ring_desc - TX/RX ring entry
24+
* @phys: DMA mapped address of the frame
25+
* @length: Size of the ring
26+
* @eof: End of frame protocol defined field
27+
* @sof: Start of frame protocol defined field
28+
* @flags: Ring descriptor flags
29+
* @time: Fill with zero
2430
*
2531
* For TX set length/eof/sof.
2632
* For RX length/eof/sof are set by the NHI.

0 commit comments

Comments
 (0)