]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/powerpc/include/asm/fsl_fman.h
powerpc/85xx: fix null pointer dereference when init the SGMII TBI PHY
[people/ms/u-boot.git] / arch / powerpc / include / asm / fsl_fman.h
index fddc0cc8cb6999ebb5f4c816bc2a1809573707b7..2c0c9bc2f2cc79e85a6b98bf6c2fb04850a8ec1a 100644 (file)
@@ -405,7 +405,14 @@ typedef struct fm_dtesc {
 } fm_dtsec_t;
 
 typedef struct fm_mdio {
-       u8      res[4*1024];
+       u8      res0[0x120];
+       u32     miimcfg;        /* MII management configuration reg */
+       u32     miimcom;        /* MII management command reg */
+       u32     miimadd;        /* MII management address reg */
+       u32     miimcon;        /* MII management control reg */
+       u32     miimstat;       /* MII management status reg  */
+       u32     miimind;        /* MII management indication reg */
+       u8      res1[0x1000 - 0x138];
 } fm_mdio_t;
 
 typedef struct fm_10gec {