public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/6] tsec: Move tsec.h to include/
@ 2008-08-31 21:33 Andy Fleming
  2008-08-31 21:33 ` [U-Boot] [PATCH 2/6] Pass in tsec_info struct through tsec_initialize Andy Fleming
  2008-09-01  3:51 ` [U-Boot] [PATCH 1/6] tsec: Move tsec.h to include/ Ben Warren
  0 siblings, 2 replies; 7+ messages in thread
From: Andy Fleming @ 2008-08-31 21:33 UTC (permalink / raw)
  To: u-boot

This is to prepare the way for board code passing in the tsec_info structure

Signed-off-by: Andy Fleming <afleming@freescale.com>
---
 drivers/net/tsec.c              |    8 +-------
 {drivers/net => include}/tsec.h |    6 ++++++
 2 files changed, 7 insertions(+), 7 deletions(-)
 rename {drivers/net => include}/tsec.h (99%)

diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c
index 6e0f2c6..06558b9 100644
--- a/drivers/net/tsec.c
+++ b/drivers/net/tsec.c
@@ -16,8 +16,8 @@
 #include <malloc.h>
 #include <net.h>
 #include <command.h>
+#include <tsec.h>
 
-#include "tsec.h"
 #include "miiphy.h"
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -32,12 +32,6 @@ typedef volatile struct rtxbd {
 	rxbd8_t rxbd[PKTBUFSRX];
 } RTXBD;
 
-struct tsec_info_struct {
-	unsigned int phyaddr;
-	u32 flags;
-	unsigned int phyregidx;
-};
-
 /* The tsec_info structure contains 3 values which the
  * driver uses to determine how to operate a given ethernet
  * device. The information needed is:
diff --git a/drivers/net/tsec.h b/include/tsec.h
similarity index 99%
rename from drivers/net/tsec.h
rename to include/tsec.h
index 6a2338b..6d38ddb 100644
--- a/drivers/net/tsec.h
+++ b/include/tsec.h
@@ -576,4 +576,10 @@ struct phy_info {
 	struct phy_cmd *shutdown;
 };
 
+struct tsec_info_struct {
+	unsigned int phyaddr;
+	u32 flags;
+	unsigned int phyregidx;
+};
+
 #endif /* __TSEC_H */
-- 
1.5.4.GIT

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-09-01  3:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-31 21:33 [U-Boot] [PATCH 1/6] tsec: Move tsec.h to include/ Andy Fleming
2008-08-31 21:33 ` [U-Boot] [PATCH 2/6] Pass in tsec_info struct through tsec_initialize Andy Fleming
2008-08-31 21:33   ` [U-Boot] [PATCH 3/6] Add SGMII support to the tsec Andy Fleming
2008-08-31 21:33     ` [U-Boot] [PATCH 4/6] Add support for Freescale SGMII Riser Card Andy Fleming
2008-08-31 21:33       ` [U-Boot] [PATCH 5/6] Add SGMII support for the 8544 DS Andy Fleming
2008-08-31 21:33         ` [U-Boot] [PATCH 6/6] Add pixis_set_sgmii command Andy Fleming
2008-09-01  3:51 ` [U-Boot] [PATCH 1/6] tsec: Move tsec.h to include/ Ben Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox