From dd3d1f56a01f460d560766126ee7dfed2ea9bc10 Mon Sep 17 00:00:00 2001 From: Andy Fleming Date: Sun, 31 Aug 2008 16:33:25 -0500 Subject: [PATCH] tsec: Move tsec.h to include/ This is to prepare the way for board code passing in the tsec_info structure Signed-off-by: Andy Fleming Signed-off-by: Ben Warren --- 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 e50d516f57..59d41e9ce6 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -16,8 +16,8 @@ #include #include #include +#include -#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 fee5934e67..83863aef16 100644 --- a/drivers/net/tsec.h +++ b/include/tsec.h @@ -583,4 +583,10 @@ struct phy_info { struct phy_cmd *shutdown; }; +struct tsec_info_struct { + unsigned int phyaddr; + u32 flags; + unsigned int phyregidx; +}; + #endif /* __TSEC_H */ -- 2.30.2