[U-Boot] [PATCH 07/11] FEC: Allow multiple FECes

2011-09-11 Thread Marek Vasut
This patch allows user to register multiple FEC controllers. To preserve compatibility with older boards, the mxcfec_register() call is still in place. To use multiple controllers, new macro is in place, the mxcfec_register_multi(), which takes more arguments. The syntax is: mxcfec_register_multi(

[U-Boot] [PATCH 07/11] FEC: Allow multiple FECes

2011-09-08 Thread Marek Vasut
This patch allows user to register multiple FEC controllers. To preserve compatibility with older boards, the mxcfec_register() call is still in place. To use multiple controllers, new macro is in place, the mxcfec_register_multi(), which takes more arguments. The syntax is: mxcfec_register_multi(