[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>
This commit is contained in:
committed by
Linus Torvalds
parent
155ad605b3
commit
3c326fe9cb
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user