commit | a3cfebdc1b3ab379646f61f095102f7d2b8f6f31 | [log] [tgz] |
---|---|---|
author | Mika Westerberg <mika.westerberg@linux.intel.com> | Sat Jul 25 10:32:46 2020 +0300 |
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | Thu Sep 03 12:21:08 2020 +0300 |
tree | d04b92aa29522c8750c87645f4de4f0545cad65b | |
parent | 6de057ef915f167dc6518910de3675ab061d2a50 [diff] |
thunderbolt: Introduce tb_port_is_nhi() This is useful if one needs to check if adapter (port) is the host interface (NHI). Make tb_port_alloc_hopid() take advantage of this. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>