thunderbolt: Add initial cactus ridge NHI support
authorAndreas Noever <andreas.noever@gmail.com>
Tue, 3 Jun 2014 20:03:58 +0000 (22:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 21:04:52 +0000 (14:04 -0700)
commit16603153666d22df544ae9f9b3764fd18da28eeb
treed28b3a560c98c6010196f856520f983efa34e4a8
parent7171511eaec5bf23fb06078f59784a3a0626b38f
thunderbolt: Add initial cactus ridge NHI support

Thunderbolt hotplug is supposed to be handled by the firmware. But Apple
decided to implement thunderbolt at the operating system level. The
firmare only initializes thunderbolt devices that are present at boot
time. This driver enables hotplug of thunderbolt of non-chained
thunderbolt devices on Apple systems with a cactus ridge controller.

This first patch adds the Kconfig file as well the parts of the driver
which talk directly to the hardware (that is pci device setup, interrupt
handling and RX/TX ring management).

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