]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: Hide authorized attribute if router does not support PCIe tunnels
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 2 Mar 2021 14:11:07 +0000 (16:11 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 9 Apr 2021 09:26:24 +0000 (12:26 +0300)
commit2089e1b2f490018e3ac32904123dceb754a24faf
tree63a8e7d13fb207c25452e2f522224ddb448a6ae4
parent023bf8ecff69db7746f351f3fee44bb99e636ee9
thunderbolt: Hide authorized attribute if router does not support PCIe tunnels

With USB4 devices PCIe tunneling is optional so for device routers
without PCIe upstream adapter it does not make much sense to expose the
authorized attribute. For this reason hide it if PCIe tunneling is not
supported by the device router.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/switch.c