hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/net/ethernet/altera/altera_tse_ethtool.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /* Ethtool support for Altera Triple-Speed Ethernet MAC driver
23 * Copyright (C) 2008-2014 Altera Corporation. All rights reserved
34 *
....@@ -13,18 +14,6 @@
1314 *
1415 * Original driver contributed by SLS.
1516 * Major updates contributed by GlobalLogic
16
- *
17
- * This program is free software; you can redistribute it and/or modify it
18
- * under the terms and conditions of the GNU General Public License,
19
- * version 2, as published by the Free Software Foundation.
20
- *
21
- * This program is distributed in the hope it will be useful, but WITHOUT
22
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
24
- * more details.
25
- *
26
- * You should have received a copy of the GNU General Public License along with
27
- * this program. If not, see <http://www.gnu.org/licenses/>.
2817 */
2918
3019 #include <linux/ethtool.h>
....@@ -78,7 +67,6 @@
7867 u32 rev = ioread32(&priv->mac_dev->megacore_revision);
7968
8069 strcpy(info->driver, "altera_tse");
81
- strcpy(info->version, "v8.0");
8270 snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "v%d.%d",
8371 rev & 0xFFFF, (rev & 0xFFFF0000) >> 16);
8472 sprintf(info->bus_info, "platform");