[PATCH] ppc32: add phy excluded features to ocp_func_emac_data
authorMatt Porter <mporter@kernel.crashing.org>
Sat, 3 Sep 2005 22:55:35 +0000 (15:55 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:05:56 +0000 (00:05 -0700)
commit2698ebcb4338f09206b5accd75bc5cf2ed3dc641
tree36d594ab86d57a558edc143de2ece41597c8a13b
parent8e8fff09756bdb799154d034c63033192d6f8f89
[PATCH] ppc32: add phy excluded features to ocp_func_emac_data

This patch adds a field to struct ocp_func_emac_data that allows
platform-specific unsupported PHY features to be passed in to the ibm_emac
ethernet driver.

This patch also adds some logic for the Bamboo eval board to populate this
field based on the dip switches on the board.  This is a workaround for the
improperly biased RJ-45 sockets on the Rev.  0 Bamboo.

Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>
Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/platforms/4xx/bamboo.c
include/asm-ppc/ibm_ocp.h