summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJon Mason <jon.mason@intel.com>2013-07-30 01:31:18 +0200
committerJon Mason <jon.mason@intel.com>2014-04-07 19:59:19 +0200
commit403c63cb6d7ec2caca2f9222ff843ac89d7d700a (patch)
tree52fc7c3baff78ed964a24f9a98b8b4921b60601e /include
parentntb: Fix leakage of ntb_device::msix_entries[] array (diff)
downloadlinux-403c63cb6d7ec2caca2f9222ff843ac89d7d700a.tar.xz
linux-403c63cb6d7ec2caca2f9222ff843ac89d7d700a.zip
NTB: client event cleanup
Provide a better event interface between the client and transport Signed-off-by: Jon Mason <jon.mason@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ntb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ntb.h b/include/linux/ntb.h
index f6a15205853b..cbc792cd745e 100644
--- a/include/linux/ntb.h
+++ b/include/linux/ntb.h
@@ -54,6 +54,11 @@ struct ntb_client {
void (*remove) (struct pci_dev *pdev);
};
+enum {
+ NTB_LINK_DOWN = 0,
+ NTB_LINK_UP,
+};
+
int ntb_register_client(struct ntb_client *drvr);
void ntb_unregister_client(struct ntb_client *drvr);
int ntb_register_client_dev(char *device_name);