| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * EP93xx ethernet network device driver |
|---|
| 3 | 4 | * Copyright (C) 2006 Lennert Buytenhek <buytenh@wantstofly.org> |
|---|
| 4 | 5 | * Dedicated to Marija Kulikova. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 8 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 9 | | - * (at your option) any later version. |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ |
|---|
| .. | .. |
|---|
| 25 | 21 | #include <linux/io.h> |
|---|
| 26 | 22 | #include <linux/slab.h> |
|---|
| 27 | 23 | |
|---|
| 28 | | -#include <mach/hardware.h> |
|---|
| 24 | +#include <linux/platform_data/eth-ep93xx.h> |
|---|
| 29 | 25 | |
|---|
| 30 | 26 | #define DRV_MODULE_NAME "ep93xx-eth" |
|---|
| 31 | | -#define DRV_MODULE_VERSION "0.1" |
|---|
| 32 | 27 | |
|---|
| 33 | 28 | #define RX_QUEUE_ENTRIES 64 |
|---|
| 34 | 29 | #define TX_QUEUE_ENTRIES 8 |
|---|
| .. | .. |
|---|
| 695 | 690 | static void ep93xx_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) |
|---|
| 696 | 691 | { |
|---|
| 697 | 692 | strlcpy(info->driver, DRV_MODULE_NAME, sizeof(info->driver)); |
|---|
| 698 | | - strlcpy(info->version, DRV_MODULE_VERSION, sizeof(info->version)); |
|---|
| 699 | 693 | } |
|---|
| 700 | 694 | |
|---|
| 701 | 695 | static int ep93xx_get_link_ksettings(struct net_device *dev, |
|---|