2 * FUJITSU Extended Socket Network Device driver
3 * Copyright (c) 2015 FUJITSU LIMITED
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, see <http://www.gnu.org/licenses/>.
17 * The full GNU General Public License is included in this distribution in
18 * the file called "COPYING".
25 #include <linux/acpi.h>
29 #define FJES_ACPI_SYMBOL "Extended Socket"
30 #define FJES_MAX_QUEUES 1
31 #define FJES_TX_RETRY_INTERVAL (20 * HZ)
33 /* board specific private data structure */
35 struct net_device *netdev;
36 struct platform_device *plat_dev;
38 struct napi_struct napi;
39 struct rtnl_link_stats64 stats64;
41 unsigned int tx_retry_count;
42 unsigned long tx_start_jiffies;
43 unsigned long rx_last_jiffies;
54 extern char fjes_driver_name[];
55 extern char fjes_driver_version[];
56 extern const u32 fjes_support_mtu[];