From: Nelson Castillo <nelsoneci@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH: ecb: 0/2] Added header file for lxt972
Date: Mon, 11 Jun 2007 19:32:47 -0500 [thread overview]
Message-ID: <20070612003247.GB20969@emqbit.com> (raw)
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 <nelson@emqbit.com>
---
diff --git a/include/lxt972.h b/include/lxt972.h
new file mode 100644
index 0000000..d0ad8d6
--- /dev/null
+++ b/include/lxt972.h
@@ -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
+
diff --git a/cpu/arm920t/at91rm9200/lxt972.c b/cpu/arm920t/at91rm9200/lxt972.c
index f12c59c..d5b8e9c 100644
--- a/cpu/arm920t/at91rm9200/lxt972.c
+++ b/cpu/arm920t/at91rm9200/lxt972.c
@@ -29,7 +29,7 @@
#include <common.h>
#include <at91rm9200_net.h>
#include <net.h>
-#include <lxt971a.h>
+#include <lxt972.h>
#ifdef CONFIG_DRIVER_ETHER
--
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
next reply other threads:[~2007-06-12 0:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-12 0:32 Nelson Castillo [this message]
2007-06-12 0:48 ` [U-Boot-Users] [PATCH: ecb: 0/2] Added header file for lxt972 Nelson Castillo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070612003247.GB20969@emqbit.com \
--to=nelsoneci@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox