summaryrefslogtreecommitdiffstats
path: root/include/linux/ntb.h
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2017-08-03 20:19:43 +0200
committerJon Mason <jdmason@kudzu.us>2017-11-19 02:37:11 +0100
commit48c302dc8f3acc1b0ef56a28569bc6a35b9b0e60 (patch)
tree5fd88d18529d648ca29527592fa1e51004f17cc0 /include/linux/ntb.h
parentNTB: switchtec: Add NTB hardware register definitions (diff)
downloadlinux-48c302dc8f3acc1b0ef56a28569bc6a35b9b0e60.tar.xz
linux-48c302dc8f3acc1b0ef56a28569bc6a35b9b0e60.zip
NTB: switchtec: Add link event notifier callback
In order for the Switchtec NTB code to handle link change events we create a notifier callback in the switchtec code which gets called whenever an appropriate event interrupt occurs. In order to preserve userspace's ability to follow these events, we compare the event count with a stored copy from last time we checked. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Stephen Bates <sbates@raithlin.com> Reviewed-by: Kurt Schwemmer <kurt.schwemmer@microsemi.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions