mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
[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:
parent
8e8fff0975
commit
2698ebcb43
2 changed files with 45 additions and 8 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue