xref: /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ef100_netdev.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */
2*4882a593Smuzhiyun /****************************************************************************
3*4882a593Smuzhiyun  * Driver for Solarflare network controllers and boards
4*4882a593Smuzhiyun  * Copyright 2018 Solarflare Communications Inc.
5*4882a593Smuzhiyun  * Copyright 2019-2020 Xilinx Inc.
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  * This program is free software; you can redistribute it and/or modify it
8*4882a593Smuzhiyun  * under the terms of the GNU General Public License version 2 as published
9*4882a593Smuzhiyun  * by the Free Software Foundation, incorporated herein by reference.
10*4882a593Smuzhiyun  */
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun #include <linux/netdevice.h>
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun int ef100_netdev_event(struct notifier_block *this,
15*4882a593Smuzhiyun 		       unsigned long event, void *ptr);
16*4882a593Smuzhiyun int ef100_register_netdev(struct efx_nic *efx);
17*4882a593Smuzhiyun void ef100_unregister_netdev(struct efx_nic *efx);
18