X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=board%2FMarvell%2Fdb64460%2Fmv_eth.h;h=4c95e3ec4c2f52fd8e9619a2bb1fff2d9622b233;hb=59a9cfdd16ad7ab14f22697bf1e049c6bea0d3e2;hp=b4e498b509045dc6b3af26167f563fc60fc741c9;hpb=3a473b2a6523db9cdf2b5aed22d9730b4ebc5693;p=karo-tx-uboot.git diff --git a/board/Marvell/db64460/mv_eth.h b/board/Marvell/db64460/mv_eth.h index b4e498b509..4c95e3ec4c 100644 --- a/board/Marvell/db64460/mv_eth.h +++ b/board/Marvell/db64460/mv_eth.h @@ -5,23 +5,7 @@ * based on - Driver for MV64460X ethernet ports * Copyright (C) 2002 rabeeh@galileo.co.il * - * 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+ */ /* @@ -37,7 +21,7 @@ #include #include #include "mv_regs.h" -#include "../common/ppc_error_no.h" +#include /************************************************************************* @@ -47,13 +31,6 @@ ************************************************************************** ************************************************************************** *************************************************************************/ -#ifndef TRUE -#define TRUE 1 -#endif -#ifndef FALSE -#define FALSE 0 -#endif - /* In case not using SG on Tx, define MAX_SKB_FRAGS as 0 */ #ifndef MAX_SKB_FRAGS #define MAX_SKB_FRAGS 0 @@ -166,9 +143,7 @@ struct mv64460_eth_priv { int mv64460_eth_init (struct eth_device *dev); int mv64460_eth_stop (struct eth_device *dev); -int mv64460_eth_start_xmit (struct eth_device*, volatile void* packet, int length); -/* return db64460_eth0_poll(); */ - +int mv64460_eth_start_xmit(struct eth_device *dev, void *packet, int length); int mv64460_eth_open (struct eth_device *dev);