thunderbolt: Add path setup code.
authorAndreas Noever <andreas.noever@gmail.com>
Tue, 3 Jun 2014 20:04:07 +0000 (22:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 21:07:47 +0000 (14:07 -0700)
commit520b670216a15fb949e6ec6a1af9b5dd55d219c7
tree905d7b0702895422156bb1c076072d95756d22db
parent053596d9e26c86352c4b2b372f43f2746b97de45
thunderbolt: Add path setup code.

A thunderbolt path is a unidirectional channel between two thunderbolt
ports. Two such paths are needed to establish a pci tunnel.

This patch introduces struct tb_path as well as a set of tb_path_*
methods which are used to activate & deactivate paths.

Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/Makefile
drivers/thunderbolt/path.c [new file with mode: 0644]
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.h