Skip to content
Commit 43a87989 authored by Mika Westerberg's avatar Mika Westerberg Committed by Liwei Song
Browse files

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: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarLiwei Song <liwei.song@windriver.com>
parent 6667e0c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment