diff options
author | Andy Fleming <afleming@freescale.com> | 2008-08-31 16:33:25 -0500 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-09-02 21:18:15 -0700 |
commit | dd3d1f56a01f460d560766126ee7dfed2ea9bc10 (patch) | |
tree | 84bdf1a760a878c591f376ee572ae6a10be33ac4 /drivers/net/tsec.c | |
parent | d23dc394aa69093b6326ad917db04dc0d1aff3f8 (diff) | |
download | bootable_bootloader_goldelico_gta04-dd3d1f56a01f460d560766126ee7dfed2ea9bc10.tar.gz bootable_bootloader_goldelico_gta04-dd3d1f56a01f460d560766126ee7dfed2ea9bc10.tar.bz2 bootable_bootloader_goldelico_gta04-dd3d1f56a01f460d560766126ee7dfed2ea9bc10.zip |
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 <afleming@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/tsec.c')
-rw-r--r-- | drivers/net/tsec.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index e50d516f5..59d41e9ce 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: |