diff options
author | Jon Mason <jon.mason@intel.com> | 2013-07-29 16:31:18 -0700 |
---|---|---|
committer | Jon Mason <jon.mason@intel.com> | 2014-04-07 10:59:19 -0700 |
commit | 403c63cb6d7ec2caca2f9222ff843ac89d7d700a (patch) | |
tree | 52fc7c3baff78ed964a24f9a98b8b4921b60601e /include/linux/ntb.h | |
parent | 717e8e8bfe5fdb87e849cd46b03d7877b9d77729 (diff) | |
download | linux-403c63cb6d7ec2caca2f9222ff843ac89d7d700a.tar.gz linux-403c63cb6d7ec2caca2f9222ff843ac89d7d700a.tar.bz2 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/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 { 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); |