diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2019-01-09 16:42:12 +0200 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2019-04-18 11:18:51 +0300 |
commit | a9be55824a10653d0247de12dc6b9a741ce3fc98 (patch) | |
tree | a2d8b835041d68b65e0222331d36021d8ed55727 /drivers/thunderbolt/tb_regs.h | |
parent | ffd003b2f8cba8dde0f7259e2207d63f75691096 (diff) | |
download | lwn-a9be55824a10653d0247de12dc6b9a741ce3fc98.tar.gz lwn-a9be55824a10653d0247de12dc6b9a741ce3fc98.zip |
thunderbolt: Move LC specific functionality into a separate file
We will be adding more link controller functionality in subsequent
patches and it does not make sense to keep all that in switch.c, so
separate LC functionality into its own file.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/tb_regs.h')
-rw-r--r-- | drivers/thunderbolt/tb_regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/thunderbolt/tb_regs.h b/drivers/thunderbolt/tb_regs.h index 6f1ff04ee195..4895ae9f0b40 100644 --- a/drivers/thunderbolt/tb_regs.h +++ b/drivers/thunderbolt/tb_regs.h @@ -237,5 +237,7 @@ struct tb_regs_hop { u32 unknown3:4; /* set to zero */ } __packed; +/* Common link controller registers */ +#define TB_LC_FUSE 0x03 #endif |