summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2017-02-19 16:57:27 +0200
committerMika Westerberg <mika.westerberg@linux.intel.com>2019-04-18 11:18:52 +0300
commit0b2863ac3cfdea2e0e27f9e722d178efb367e4db (patch)
tree794889b3c010be2d8d7070761953adb81369622f /scripts
parent93f36ade5b7b82a842a3d6284b8cdb68adb93e85 (diff)
downloadlinux-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