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