diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-07-08 02:56:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-08 03:23:36 +0200 |
commit | 3c326fe9cb7ae022f7589a6f5781e49ceab82e64 (patch) | |
tree | 98419a66ee601d790029b9cc670f49ad2c3dab35 /drivers/net/sungem.c | |
parent | [PATCH] kbuild: build a single module using 'make dir/module.ko' (diff) | |
download | linux-3c326fe9cb7ae022f7589a6f5781e49ceab82e64.tar.xz linux-3c326fe9cb7ae022f7589a6f5781e49ceab82e64.zip |
[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.c | 4 |
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, gp->phy_mii.dev = dev; gp->phy_mii.mdio_read = _phy_read; gp->phy_mii.mdio_write = _phy_write; - +#ifdef CONFIG_PPC_PMAC + gp->phy_mii.platform_data = gp->of_node; +#endif /* By default, we start with autoneg */ gp->want_autoneg = 1; |