Skip to content
Commit 0b2863ac authored by Mika Westerberg's avatar Mika Westerberg
Browse files

thunderbolt: Add functions for allocating and releasing HopIDs



Each port has a separate path configuration space that is used for
finding the next hop (switch) in the path. HopID is an index to this
configuration space. HopIDs 0 - 7 are reserved by the protocol.

In order to get next available HopID for each direction we provide two
pairs of helper functions that can be used to allocate and release
HopIDs for a given port.

While there remove obsolete TODO comment.

Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 93f36ade
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment