diff options
Diffstat (limited to 'drivers/net/pcnet.c')
| -rw-r--r-- | drivers/net/pcnet.c | 20 | 
1 files changed, 2 insertions, 18 deletions
| diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c index c028a44a9..283cb48b4 100644 --- a/drivers/net/pcnet.c +++ b/drivers/net/pcnet.c @@ -4,23 +4,7 @@   * This driver for AMD PCnet network controllers is derived from the   * Linux driver pcnet32.c written 1996-1999 by Thomas Bogendoerfer.   * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> @@ -146,7 +130,7 @@ static int pcnet_recv (struct eth_device *dev);  static void pcnet_halt (struct eth_device *dev);  static int pcnet_probe (struct eth_device *dev, bd_t * bis, int dev_num); -#define PCI_TO_MEM(d,a) pci_phys_to_mem((pci_dev_t)d->priv, (u_long)(a)) +#define PCI_TO_MEM(d, a) pci_virt_to_mem((pci_dev_t)d->priv, (a))  #define PCI_TO_MEM_LE(d,a) (u32)(cpu_to_le32(PCI_TO_MEM(d,a)))  static struct pci_device_id supported[] = { |