diff options
author | Andy Fleming <afleming@freescale.com> | 2007-07-11 11:43:07 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-18 18:29:37 -0400 |
commit | 7132ab7f6e0309bb8e0424e395ba149aee0c750e (patch) | |
tree | b947434ef6edefdbe683b4a6c5740ccec977bc4e /include | |
parent | af2d940df2b60b15c271033d381c2f3ead655562 (diff) | |
download | kernel_samsung_crespo-7132ab7f6e0309bb8e0424e395ba149aee0c750e.zip kernel_samsung_crespo-7132ab7f6e0309bb8e0424e395ba149aee0c750e.tar.gz kernel_samsung_crespo-7132ab7f6e0309bb8e0424e395ba149aee0c750e.tar.bz2 |
Fix RGMII-ID handling in gianfar
The TSEC/eTSEC can detect the interface to the PHY automatically,
but it isn't able to detect whether the RGMII connection needs internal
delay. So we need to detect that change in the device tree, propagate
it to the platform data, and then check it if we're in RGMII. This fixes
a bug on the 8641D HPCN board where the Vitesse PHY doesn't use the delay
for RGMII.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fsl_devices.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index 695741b..1831b19 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h @@ -53,6 +53,7 @@ struct gianfar_platform_data { u32 bus_id; u32 phy_id; u8 mac_addr[6]; + phy_interface_t interface; }; struct gianfar_mdio_data { |