diff options
author | Andy Fleming <afleming@freescale.com> | 2008-12-16 18:29:15 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-16 18:29:15 -0500 |
commit | b31a1d8b41513b96e9c7ec2f68c5734cef0b26a4 (patch) | |
tree | f8643c2fd1b137dd6c00bcd385ad36adfca4f540 /drivers/net/gianfar_mii.h | |
parent | 257d938a0c17838c740eb68f0005b041444ac2c2 (diff) |
gianfar: Convert gianfar to an of_platform_driver
Does the same for the accompanying MDIO driver, and then modifies the TBI
configuration method. The old way used fields in einfo, which no longer
exists. The new way is to create an MDIO device-tree node for each instance
of gianfar, and create a tbi-handle property to associate ethernet controllers
with the TBI PHYs they are connected to.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gianfar_mii.h')
-rw-r--r-- | drivers/net/gianfar_mii.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/gianfar_mii.h b/drivers/net/gianfar_mii.h index 02dc970ca1ff..65c242cd468a 100644 --- a/drivers/net/gianfar_mii.h +++ b/drivers/net/gianfar_mii.h | |||
@@ -49,4 +49,6 @@ int gfar_local_mdio_read(struct gfar_mii __iomem *regs, int mii_id, int regnum); | |||
49 | struct mii_bus *gfar_get_miibus(const struct gfar_private *priv); | 49 | struct mii_bus *gfar_get_miibus(const struct gfar_private *priv); |
50 | int __init gfar_mdio_init(void); | 50 | int __init gfar_mdio_init(void); |
51 | void gfar_mdio_exit(void); | 51 | void gfar_mdio_exit(void); |
52 | |||
53 | void gfar_mdio_bus_name(char *name, struct device_node *np); | ||
52 | #endif /* GIANFAR_PHY_H */ | 54 | #endif /* GIANFAR_PHY_H */ |