[PATCH v2] ibm_newemac: Add support for GPCS, SGMIIandM88E1112 PHY

Victor Gallardo vgallardo at amcc.com
Thu Oct 2 23:40:40 EST 2008


> Victor, while at it, can you do a fixup patch on top of it that guards
> the new feature with a Kconfig option like some of the other ones so
> that the code for it doesn't get compiled in when building, for example.
> for 405GP only ?
>
> The trick is to have the option not be part of the possible mask, so
> that the compiler optimises out the feature tests as if (0) (gcc
> nowadays is supposedly smart enough to rip off the code when it finds
> such constructs).

Hi Ben, 
 
Can you give an example of what you are asking for? I am not sure if I understand your request.
 
Thanks,
 
Victor Gallardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20081002/d7c6f7c4/attachment.htm>


More information about the Linuxppc-dev mailing list