X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fqe%2Fuec.h;h=5f8baefb1036430528a54f50b6d9ff0b12a958a8;hb=069b746ad9e66ab75973020f992e059c06cf3a7c;hp=94eb9a26d7f95d8c9cf2111f0119d4c19a6569d0;hpb=d9d47d18e8cee8ae290218ce5d9669b9563073e3;p=u-boot diff --git a/drivers/qe/uec.h b/drivers/qe/uec.h index 94eb9a26d7..5f8baefb10 100644 --- a/drivers/qe/uec.h +++ b/drivers/qe/uec.h @@ -1,31 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2006-2010 Freescale Semiconductor, Inc. * * Dave Liu * based on source code of Shlomi Gridish - * - * 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 */ #ifndef __UEC_H__ #define __UEC_H__ -#include "qe.h" #include "uccf.h" -#include +#include +#include #define MAX_TX_THREADS 8 #define MAX_RX_THREADS 8 @@ -691,7 +677,7 @@ typedef struct uec_info { u16 rx_bd_ring_len; u16 tx_bd_ring_len; u8 phy_address; - enum fsl_phy_enet_if enet_interface_type; + phy_interface_t enet_interface_type; int speed; } uec_info_t;