diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2017-09-14 12:59:10 +0200 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2018-03-09 10:54:10 +0100 |
commit | cb653eecde3dc37c67d3e7297ac5445d16f7be13 (patch) | |
tree | d5fea156a7155e47b7d81466b4a1372da991349f /drivers/thunderbolt/tb_msgs.h | |
parent | thunderbolt: Wait a bit longer for ICM to authenticate the active NVM (diff) | |
download | linux-cb653eecde3dc37c67d3e7297ac5445d16f7be13.tar.xz linux-cb653eecde3dc37c67d3e7297ac5445d16f7be13.zip |
thunderbolt: Handle rejected Thunderbolt devices
The ICM firmware rejects devices if the maximum topology limit is
exceeded (more than 6 devices are connected). If that happens just log a
message to the kernel message buffer and bail out.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'drivers/thunderbolt/tb_msgs.h')
-rw-r--r-- | drivers/thunderbolt/tb_msgs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thunderbolt/tb_msgs.h b/drivers/thunderbolt/tb_msgs.h index b0a092baa605..476bc04cac6c 100644 --- a/drivers/thunderbolt/tb_msgs.h +++ b/drivers/thunderbolt/tb_msgs.h @@ -176,6 +176,7 @@ struct icm_fr_event_device_connected { #define ICM_LINK_INFO_DEPTH_SHIFT 4 #define ICM_LINK_INFO_DEPTH_MASK GENMASK(7, 4) #define ICM_LINK_INFO_APPROVED BIT(8) +#define ICM_LINK_INFO_REJECTED BIT(9) struct icm_fr_pkg_approve_device { struct icm_pkg_header hdr; |