#include <linux/mutex.h>
#include <linux/list.h>
#include <linux/netdevice.h>
#include <linux/module.h>
#include "be.h"
#include "be_cmds.h"
static struct ocrdma_driver *ocrdma_drv;
static LIST_HEAD(be_adapter_list);
static DEFINE_MUTEX(be_adapter_list_lock);
static void _be_roce_dev_add(struct be_adapter *adapter)
{ … }
void be_roce_dev_add(struct be_adapter *adapter)
{ … }
static void _be_roce_dev_remove(struct be_adapter *adapter)
{ … }
void be_roce_dev_remove(struct be_adapter *adapter)
{ … }
void be_roce_dev_shutdown(struct be_adapter *adapter)
{ … }
int be_roce_register_driver(struct ocrdma_driver *drv)
{ … }
EXPORT_SYMBOL(…);
void be_roce_unregister_driver(struct ocrdma_driver *drv)
{ … }
EXPORT_SYMBOL(…);