]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/sungem.c
[PATCH] IB: Add handling for ABORT and STOP RMPP MADs.
[linux-2.6-omap-h63xx.git] / drivers / net / sungem.c
index 1f5655655c40185091146461789f0a08ab7c5282..2608e7a3d214b280d8d1ec12a265612a477bd14a 100644 (file)
@@ -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;