diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2017-02-19 16:57:27 +0200 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2019-04-18 11:18:52 +0300 |
commit | 0b2863ac3cfdea2e0e27f9e722d178efb367e4db (patch) | |
tree | 794889b3c010be2d8d7070761953adb81369622f /scripts | |
parent | 93f36ade5b7b82a842a3d6284b8cdb68adb93e85 (diff) | |
download | linux-0b2863ac3cfdea2e0e27f9e722d178efb367e4db.tar.gz linux-0b2863ac3cfdea2e0e27f9e722d178efb367e4db.tar.bz2 linux-0b2863ac3cfdea2e0e27f9e722d178efb367e4db.zip |
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: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions