thunderbolt: Enable plug events

Thunderbolt switches have a plug events capability. This patch adds the
tb_plug_events_active method and uses it to activate plug events during
switch allocation.

Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Andreas Noever
2014-06-03 22:04:04 +02:00
committed by Greg Kroah-Hartman
vanhempi e2b8785ed3
commit ca389f716f
2 muutettua tiedostoa jossa 53 lisäystä ja 0 poistoa

Näytä tiedosto

@@ -19,6 +19,7 @@ struct tb_switch {
struct tb_regs_switch_header config;
struct tb_port *ports;
struct tb *tb;
int cap_plug_events; /* offset, zero if not found */
};
/**