Skip to content
Commit 93f36ade authored by Mika Westerberg's avatar Mika Westerberg
Browse files

thunderbolt: Generalize tunnel creation functionality



To be able to tunnel non-PCIe traffic, separate tunnel functionality
into generic and PCIe specific parts. Rename struct tb_pci_tunnel to
tb_tunnel, and make it hold an array of paths instead of just two.
Update all the tunneling functions to take this structure as parameter.

We also move tb_pci_port_active() to switch.c (and rename it) where we
will be keeping all port and switch related functions.

Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 1752b9f7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment