aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sungem.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-07-07 20:56:09 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 21:23:36 -0400
commit3c326fe9cb7ae022f7589a6f5781e49ceab82e64 (patch)
tree98419a66ee601d790029b9cc670f49ad2c3dab35 /drivers/net/sungem.c
parent155ad605b3c9c5874ff068f23c6ea8537190e0a8 (diff)
[PATCH] ppc64: Add new PHY to sungem
This patch adds support for some new PHY models to sungem as used on some recent Apple iMac G5 models. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net/sungem.c')
-rw-r--r--drivers/net/sungem.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c
index 1f5655655c40..2608e7a3d214 100644
--- a/drivers/net/sungem.c
+++ b/drivers/net/sungem.c
@@ -3079,7 +3079,9 @@ static int __devinit gem_init_one(struct pci_dev *pdev,
3079 gp->phy_mii.dev = dev; 3079 gp->phy_mii.dev = dev;
3080 gp->phy_mii.mdio_read = _phy_read; 3080 gp->phy_mii.mdio_read = _phy_read;
3081 gp->phy_mii.mdio_write = _phy_write; 3081 gp->phy_mii.mdio_write = _phy_write;
3082 3082#ifdef CONFIG_PPC_PMAC
3083 gp->phy_mii.platform_data = gp->of_node;
3084#endif
3083 /* By default, we start with autoneg */ 3085 /* By default, we start with autoneg */
3084 gp->want_autoneg = 1; 3086 gp->want_autoneg = 1;
3085 3087