diff options
author | Jon Mason <jon.mason@intel.com> | 2013-07-29 19:31:18 -0400 |
---|---|---|
committer | Jon Mason <jon.mason@intel.com> | 2014-04-07 13:59:19 -0400 |
commit | 403c63cb6d7ec2caca2f9222ff843ac89d7d700a (patch) | |
tree | 52fc7c3baff78ed964a24f9a98b8b4921b60601e /include/linux/ntb.h | |
parent | 717e8e8bfe5fdb87e849cd46b03d7877b9d77729 (diff) |
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.h | 5 |
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 { | |||
54 | void (*remove) (struct pci_dev *pdev); | 54 | void (*remove) (struct pci_dev *pdev); |
55 | }; | 55 | }; |
56 | 56 | ||
57 | enum { | ||
58 | NTB_LINK_DOWN = 0, | ||
59 | NTB_LINK_UP, | ||
60 | }; | ||
61 | |||
57 | int ntb_register_client(struct ntb_client *drvr); | 62 | int ntb_register_client(struct ntb_client *drvr); |
58 | void ntb_unregister_client(struct ntb_client *drvr); | 63 | void ntb_unregister_client(struct ntb_client *drvr); |
59 | int ntb_register_client_dev(char *device_name); | 64 | int ntb_register_client_dev(char *device_name); |