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