Added header file for lxt972
cover Added header file for lxt972
Hi all.
I'm submitting 3 related patches for review.
Regards,
Nelson.-
First: Header file for the lxt972.
I noticed that there is a need for the header file of the lxt972.
Added header file for lxt972.
Signed-off-by Nelson Castillo <[email protected]>
---
include/lxt972.h new file +35 -0
@@ -0,0 +1,35 @@ +/*********************************************************************** +* +* Copyright (C) 2007 emQbit +* Nelson Castillo, nelson at emqbit.com +* +* +* 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 __LXT972_H__ +#define __LXT972_H__ + +#include <lxt971a.h> + +unsigned int lxt972_IsPhyConnected (AT91PS_EMAC p_mac); +UCHAR lxt972_GetLinkSpeed (AT91PS_EMAC p_mac); +UCHAR lxt972_InitPhy (AT91PS_EMAC p_mac); +UCHAR lxt972_AutoNegotiate (AT91PS_EMAC p_mac,int *status); + +#endif +
cpu/arm920t/at91rm9200/lxt972.c +1 -1
@@ -29,7 +29,7 @@#include <common.h> #include <at91rm9200_net.h> #include <net.h> -#include <lxt971a.h> +#include <lxt972.h> #ifdef CONFIG_DRIVER_ETHER
Signature · 9 lines
http://arhuaco.org http://emQbit.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.denx.de/pipermail/u-boot/attachments/20070611/69ea8874/attachment.pgp
cover Added header file for lxt972
Quoted 3 lines · Nelson Castillo
Hi all.
I'm submitting 3 related patches for review.
The third one "Initial support for the ECB_AT91 SBC" was too big and it's waiting for approval. I guess I made a mistake duplicating flash.c and at45.c. There is a pending patch for the second one that allows duplication.
This is the first time I send a group of patches to the list and I hope it's OK. Just for reference I attach the whole patch to this email.
Regards,
Nelson.-
Signature · 9 lines
http://arhuaco.org http://emQbit.com -------------- next part -------------- A non-text attachment was scrubbed... Name: u-boot-ecbat91.patch.gz Type: application/x-gzip Size: 13593 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20070611/f481b438/attachment.bin