blob: 4fb2857f3e56fc8a6fc9c595f103639903718519 [file] [log] [blame]
Kumar Galaf8c42492010-09-30 09:14:40 -05001/*
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
16enum fsl_phy_enet_if {
17 MII,
18 RMII,
19 GMII,
20 RGMII,
21 RGMII_ID,
22 RGMII_RXID,
23 RGMII_TXID,
24 SGMII,
25 TBI,
26 RTBI,
27 XAUI,
28 FSL_ETH_IF_NONE,
29};
30
Kumar Galaa1964ea2010-09-30 09:15:03 -050031int fdt_fixup_phy_connection(void *blob, int offset, enum fsl_phy_enet_if phyc);
32
Kumar Galaf8c42492010-09-30 09:14:40 -050033#endif /* __ASM_PPC_FSL_ENET_H */