mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 06:21:31 +00:00
NTB: client event cleanup
Provide a better event interface between the client and transport Signed-off-by: Jon Mason <jon.mason@intel.com>
This commit is contained in:
parent
717e8e8bfe
commit
403c63cb6d
4 changed files with 18 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue