diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2010-09-30 09:15:03 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-10-20 02:27:18 -0500 |
commit | a1964ea5c25238fdad254dbe88d1e4ed9cd84061 (patch) | |
tree | a69b11d110cddfd003674577e199c847faa21eb3 /arch/powerpc/include/asm/fsl_enet.h | |
parent | f8c42495e08b270dbeb47c5dd79e9564fa4b5ec2 (diff) |
powerpc/8xxx: Add fdt_fixup_phy_connection helper
Add a common helper that will set the PHY connection type based on enum.
We use this on eTSEC, UCC, and will with Fman in the future.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/fsl_enet.h')
-rw-r--r-- | arch/powerpc/include/asm/fsl_enet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_enet.h b/arch/powerpc/include/asm/fsl_enet.h index 85961573ba3..4fb2857f3e5 100644 --- a/arch/powerpc/include/asm/fsl_enet.h +++ b/arch/powerpc/include/asm/fsl_enet.h @@ -28,4 +28,6 @@ enum fsl_phy_enet_if { FSL_ETH_IF_NONE, }; +int fdt_fixup_phy_connection(void *blob, int offset, enum fsl_phy_enet_if phyc); + #endif /* __ASM_PPC_FSL_ENET_H */ |