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 #include <linux/module.h> 12 #include <linux/netdevice.h> 13 #include "net_driver.h" 14 #include "efx.h" 15 #include "mcdi_port_common.h" 16 #include "ethtool_common.h" 17 #include "ef100_ethtool.h" 18 #include "mcdi_functions.h" 19 20 /* Ethtool options available 21 */ 22 const struct ethtool_ops ef100_ethtool_ops = { 23 .get_drvinfo = efx_ethtool_get_drvinfo, 24 }; 25