From be252b654a018cd9f513b0f2a5da4855a209c40c Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Tue, 20 Dec 2011 05:46:31 +0000 Subject: net: imx: Add multi-FEC support for imx_get_mac_from_fuse Add multi-FEC support for imx_get_mac_from_fuse by passing dev_id as a parameter. This feature is important on mx28 SoC for example that has two FEC ports. Cc: Ben Warren Signed-off-by: Fabio Estevam Acked-by: Stefano Babic --- arch/arm/cpu/arm926ejs/mx27/generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/cpu/arm926ejs/mx27') diff --git a/arch/arm/cpu/arm926ejs/mx27/generic.c b/arch/arm/cpu/arm926ejs/mx27/generic.c index 222a8e9..34c20e1 100644 --- a/arch/arm/cpu/arm926ejs/mx27/generic.c +++ b/arch/arm/cpu/arm926ejs/mx27/generic.c @@ -314,7 +314,7 @@ void mx27_fec_init_pins(void) imx_gpio_mode(mode[i]); } -void imx_get_mac_from_fuse(unsigned char *mac) +void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) { int i; struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; -- cgit v1.1