thunderbolt: Introduce tb_port_is_nhi()
commit a3cfebdc upstream. 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> Signed-off-by:
Liwei Song <liwei.song@windriver.com>
Loading
Please register or sign in to comment