summaryrefslogtreecommitdiff
path: root/include/linux/ntb.h
diff options
context:
space:
mode:
authorJon Mason <jon.mason@intel.com>2013-07-30 03:31:18 +0400
committerJon Mason <jon.mason@intel.com>2014-04-07 21:59:19 +0400
commit403c63cb6d7ec2caca2f9222ff843ac89d7d700a (patch)
tree52fc7c3baff78ed964a24f9a98b8b4921b60601e /include/linux/ntb.h
parent717e8e8bfe5fdb87e849cd46b03d7877b9d77729 (diff)
downloadlinux-403c63cb6d7ec2caca2f9222ff843ac89d7d700a.tar.xz
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/linux/ntb.h')
-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);