X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fnet%2Fks8695eth.c;h=b4822e950485df18049200ee678d4ab300a554ca;hb=772e173802627a1917a3f5878ad4b9b920089a33;hp=cd368808f2c90bb894add593787f0b3bf6fd5949;hpb=1e8ff7145c6be51f295d8e235472a6455aee1ac3;p=u-boot diff --git a/drivers/net/ks8695eth.c b/drivers/net/ks8695eth.c index cd368808f2..b4822e9504 100644 --- a/drivers/net/ks8695eth.c +++ b/drivers/net/ks8695eth.c @@ -3,19 +3,7 @@ * * (C) Copyright 2004-2005, Greg Ungerer * - * 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+ */ /****************************************************************************/ @@ -190,13 +178,12 @@ static int ks8695_eth_recv(struct eth_device *dev) /****************************************************************************/ -static int ks8695_eth_send(struct eth_device *dev, volatile void *packet, - int len) +static int ks8695_eth_send(struct eth_device *dev, void *packet, int len) { volatile struct ks8695_txdesc *dp; static int next = 0; - debug ("%s(%d): eth_send(packet=%x,len=%d)\n", __FILE__, __LINE__, + debug ("%s(%d): eth_send(packet=%p,len=%d)\n", __FILE__, __LINE__, packet, len); dp = &ks8695_tx[next];