[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>
This commit is contained in:
committed by
Linus Torvalds
parent
8e8fff0975
commit
2698ebcb43
@@ -67,6 +67,7 @@ struct ocp_func_emac_data {
|
||||
int phy_mode; /* PHY type or configurable mode */
|
||||
u8 mac_addr[6]; /* EMAC mac address */
|
||||
u32 phy_map; /* EMAC phy map */
|
||||
u32 phy_feat_exc; /* Excluded PHY features */
|
||||
};
|
||||
|
||||
/* Sysfs support */
|
||||
|
Reference in New Issue
Block a user