]> git.baikalelectronics.ru Git - kernel.git/commit
ibm_newemac: Fix new MAL feature handling
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 16 Oct 2008 04:38:40 +0000 (04:38 +0000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Mon, 20 Oct 2008 23:59:54 +0000 (19:59 -0400)
commit8ab47d7481b4de5b442d9676868b112e4a111cda
treef87ee18556af26da4b0923a7116371886e4ece70
parent0a6da8fdb6fa6813e4711a45abdda48a5c51de8c
ibm_newemac: Fix new MAL feature handling

Support for new features needed by the PPC 405EZ boards
introduced some errors in the MAL and EMAC feature handling.
This broke 'allmodconfig' builds as CONFIG_PPC_DCR_NATIVE is
not set for those.

This patch fixes these errors by wrapping the code in the
appropriate #ifdefs.

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
drivers/net/ibm_newemac/core.c
drivers/net/ibm_newemac/mal.c