mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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>
This commit is contained in:
committed by
David S. Miller
parent
ff7cd07f30
commit
f9cad07b84
@@ -187,6 +187,7 @@ void tb_unregister_property_dir(const char *key, struct tb_property_dir *dir);
|
||||
* @device_name: Name of the device (or %NULL if not known)
|
||||
* @link_speed: Speed of the link in Gb/s
|
||||
* @link_width: Width of the link (1 or 2)
|
||||
* @link_usb4: Downstream link is USB4
|
||||
* @is_unplugged: The XDomain is unplugged
|
||||
* @needs_uuid: If the XDomain does not have @remote_uuid it will be
|
||||
* queried first
|
||||
@@ -234,6 +235,7 @@ struct tb_xdomain {
|
||||
const char *device_name;
|
||||
unsigned int link_speed;
|
||||
unsigned int link_width;
|
||||
bool link_usb4;
|
||||
bool is_unplugged;
|
||||
bool needs_uuid;
|
||||
struct ida service_ids;
|
||||
|
Reference in New Issue
Block a user