thunderbolt: Add control channel interface
authorAndreas Noever <andreas.noever@gmail.com>
Tue, 3 Jun 2014 20:03:59 +0000 (22:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 21:07:07 +0000 (14:07 -0700)
commitf25bf6fcb1a83a149bc8b5285d33b48cbd47c7d7
treeccd520087717af3e8901fcb3c4a98394fcb02db9
parent16603153666d22df544ae9f9b3764fd18da28eeb
thunderbolt: Add control channel interface

Thunderbolt devices are configured by reading/writing into their
configuration space (similar to pci). This is done by sending packets
through the NHI (native host interface) onto the control channel.

This patch handles the low level packet based protocol and exposes
higher level operations like tb_cfg_read/tb_cfg_write.

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