mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user