ibm_newemac: Allow the "no flow control" EMAC feature to work
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 4 Sep 2008 02:57:57 +0000 (02:57 +0000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Tue, 30 Sep 2008 13:22:45 +0000 (09:22 -0400)
commitb68d185ab12b1fc8000432c5d5ab5404d4788b4c
treebc4d649dd4fc8a11800032d66f424de362073c8f
parent1afb7f809bfb8fad9eec9419f3dfd75cee746ebd
ibm_newemac: Allow the "no flow control" EMAC feature to work

Some PowerPC 40x chips have errata that force us not to use the integrated
flow control.  We have the feature defined, but it currently can't be used
because it is never added to EMAC_FTRS_POSSIBLE.

This adds a Kconfig option for affected platforms to select and puts the
feature in the EMAC_FTRS_POSSIBLE list.  This is set for PowerPC 405EZ
platforms as well.

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