thunderbolt: Show link type for XDomain connections too
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 30 Aug 2022 15:32:47 +0000 (18:32 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Aug 2022 13:05:12 +0000 (14:05 +0100)
commitf9cad07b840ec8a8eb54928908d694b6e262631c
tree9608a38e64537f49bef288a0878353a2d6ecf22e
parentff7cd07f306406493f7b78890475e85b6d0811ed
thunderbolt: Show link type for XDomain connections too

Following what we do for routers already, extend this to XDomain
connections as well. This will show in sysfs whether the link is in USB4
or Thunderbolt mode.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/thunderbolt/tb.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/usb4.c
drivers/thunderbolt/usb4_port.c
include/linux/thunderbolt.h