Kumar Gala | 3bc2d8d | 2010-09-30 09:14:40 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2010 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * See file CREDITS for list of people who contributed to this |
| 5 | * project. |
| 6 | * |
| 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. |
| 11 | */ |
| 12 | |
| 13 | #ifndef __ASM_PPC_FSL_ENET_H |
| 14 | #define __ASM_PPC_FSL_ENET_H |
| 15 | |
Andy Fleming | 7832a46 | 2011-04-13 00:37:12 -0500 | [diff] [blame] | 16 | #include <phy.h> |
Kumar Gala | 3bc2d8d | 2010-09-30 09:14:40 -0500 | [diff] [blame] | 17 | |
Andy Fleming | 422effd | 2011-04-08 02:10:54 -0500 | [diff] [blame] | 18 | struct tsec_mii_mng { |
| 19 | u32 miimcfg; /* MII management configuration reg */ |
| 20 | u32 miimcom; /* MII management command reg */ |
| 21 | u32 miimadd; /* MII management address reg */ |
| 22 | u32 miimcon; /* MII management control reg */ |
| 23 | u32 miimstat; /* MII management status reg */ |
| 24 | u32 miimind; /* MII management indication reg */ |
| 25 | u32 ifstat; /* Interface Status Register */ |
| 26 | } __attribute__ ((packed)); |
| 27 | |
Andy Fleming | 7832a46 | 2011-04-13 00:37:12 -0500 | [diff] [blame] | 28 | int fdt_fixup_phy_connection(void *blob, int offset, phy_interface_t phyc); |
Kumar Gala | 6bc9fd5 | 2010-09-30 09:15:03 -0500 | [diff] [blame] | 29 | |
Kumar Gala | 3bc2d8d | 2010-09-30 09:14:40 -0500 | [diff] [blame] | 30 | #endif /* __ASM_PPC_FSL_ENET_H */ |