thunderbolt: Add support for simple pci tunnels
authorAndreas Noever <andreas.noever@gmail.com>
Tue, 3 Jun 2014 20:04:08 +0000 (22:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 21:07:47 +0000 (14:07 -0700)
commit3364f0c12795713e89ae1209081c60d64bfb4ca1
treec13a0c83e2a0268bb2af82a34f10732a6b46312b
parent520b670216a15fb949e6ec6a1af9b5dd55d219c7
thunderbolt: Add support for simple pci tunnels

A pci downstream and pci upstream port can be connected through a
tunnel. To establish the tunnel we have to setup two unidirectional
paths between the two ports.

Right now we only support paths with two hops (i.e. no chaining) and at
most one pci device per thunderbolt device.

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