linux/drivers/thunderbolt
Mika Westerberg 81a54b5e19 thunderbolt: Let the connection manager handle all notifications
Currently the control channel (ctl.c) handles the one supported
notification (PLUG_EVENT) and sends back ACK accordingly. However, we
are going to add support for the internal connection manager (ICM) that
needs to handle a different notifications. So instead of dealing
everything in the control channel, we change the callback to take an
arbitrary thunderbolt packet and convert the native connection manager
to handle the event itself.

In addition we only push replies we know of to the response FIFO.
Everything else is treated as notification (or request) and is expected
to be dealt by the connection manager implementation.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
Reviewed-by: Michael Jamet <michael.jamet@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-09 11:42:42 +02:00
..
cap.c thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
ctl.c thunderbolt: Let the connection manager handle all notifications 2017-06-09 11:42:42 +02:00
ctl.h thunderbolt: Let the connection manager handle all notifications 2017-06-09 11:42:42 +02:00
domain.c thunderbolt: Let the connection manager handle all notifications 2017-06-09 11:42:42 +02:00
eeprom.c thunderbolt: Read vendor and device name from DROM 2017-06-09 11:42:42 +02:00
Kconfig thunderbolt: Compile on x86 only 2016-11-18 09:42:59 +01:00
Makefile thunderbolt: Introduce thunderbolt bus and connection manager 2017-06-09 11:42:41 +02:00
nhi_regs.h thunderbolt: Add MSI-X support 2017-06-09 11:42:41 +02:00
nhi.c thunderbolt: Introduce thunderbolt bus and connection manager 2017-06-09 11:42:41 +02:00
nhi.h thunderbolt: Add MSI-X support 2017-06-09 11:42:41 +02:00
path.c thunderbolt: Clear hops before overwriting 2014-08-26 14:54:48 -07:00
switch.c thunderbolt: Read vendor and device name from DROM 2017-06-09 11:42:42 +02:00
tb_msgs.h thunderbolt: Move control channel messages to tb_msgs.h 2017-06-09 11:42:42 +02:00
tb_regs.h thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
tb.c thunderbolt: Let the connection manager handle all notifications 2017-06-09 11:42:42 +02:00
tb.h thunderbolt: Let the connection manager handle all notifications 2017-06-09 11:42:42 +02:00
tunnel_pci.c thunderbolt: Introduce thunderbolt bus and connection manager 2017-06-09 11:42:41 +02:00
tunnel_pci.h thunderbolt: Add support for simple pci tunnels 2014-06-19 14:07:47 -07:00