summaryrefslogtreecommitdiffstats
path: root/include/tsec.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-10-31 11:23:41 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-01-05 13:49:04 -0600
commit3ad89c4ecba51564c97075f031aef4fa5eafbb16 (patch)
tree3e3bfe3ef003dfd606d9c6cbd2e4dd4c0c4d68ad /include/tsec.h
parentb9e186fc31683a4f1b6880c086950b2270e62e24 (diff)
downloadbootable_bootloader_goldelico_gta04-3ad89c4ecba51564c97075f031aef4fa5eafbb16.zip
bootable_bootloader_goldelico_gta04-3ad89c4ecba51564c97075f031aef4fa5eafbb16.tar.gz
bootable_bootloader_goldelico_gta04-3ad89c4ecba51564c97075f031aef4fa5eafbb16.tar.bz2
NET: Base support for etsec2.0
1. Modified the tsec_mdio structure to include the new regs 2. Modified the MDIO_BASE_ADDR so that it will handle both older version and new version of etsec. Signed-off-by: Sandeep Gopalpet <sandeep.kumar@freescale.com> Acked-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/tsec.h')
-rw-r--r--include/tsec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/tsec.h b/include/tsec.h
index 92bd028..f56723a 100644
--- a/include/tsec.h
+++ b/include/tsec.h
@@ -457,12 +457,19 @@ typedef struct tsec_hash_regs
} tsec_hash_t;
typedef struct tsec_mdio {
+ uint res1[4];
+ uint ieventm;
+ uint imaskm;
+ uint res2;
+ uint emapm;
+ uint res3[320];
uint miimcfg; /* MII Management: Configuration */
uint miimcom; /* MII Management: Command */
uint miimadd; /* MII Management: Address */
uint miimcon; /* MII Management: Control */
uint miimstat; /* MII Management: Status */
uint miimind; /* MII Management: Indicators */
+ uint res4[690];
} tsec_mdio_t;
typedef struct tsec