2 * Copyright 2010 Freescale Semiconductor, Inc.
4 * See file CREDITS for list of people who contributed to this
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of
10 * the License, or (at your option) any later version.
13 #ifndef __ASM_PPC_FSL_ENET_H
14 #define __ASM_PPC_FSL_ENET_H
16 enum fsl_phy_enet_if {
32 u32 miimcfg; /* MII management configuration reg */
33 u32 miimcom; /* MII management command reg */
34 u32 miimadd; /* MII management address reg */
35 u32 miimcon; /* MII management control reg */
36 u32 miimstat; /* MII management status reg */
37 u32 miimind; /* MII management indication reg */
38 u32 ifstat; /* Interface Status Register */
39 } __attribute__ ((packed));
41 int fdt_fixup_phy_connection(void *blob, int offset, enum fsl_phy_enet_if phyc);
43 #endif /* __ASM_PPC_FSL_ENET_H */