thunderbolt: Add thunderbolt capability handling
authorAndreas Noever <andreas.noever@gmail.com>
Tue, 3 Jun 2014 20:04:03 +0000 (22:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 21:07:47 +0000 (14:07 -0700)
commite2b8785ed312dad3a18279a3e88435fc269658c1
tree37c6e5742227564f30e5e87c608a891fc7bc6971
parenta25c8b2fc9636aaf29d9d9d89f92cdfd27a2a23d
thunderbolt: Add thunderbolt capability handling

Thunderbolt config areas contain capability lists similar to those found
on pci devices. This patch introduces a tb_find_cap utility method to
search for capabilities.

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