[PATCH] PHY: Add support for configuring the PHY connection interface
[deliverable/linux.git] / drivers / net / fs_enet / fs_enet-main.c
index cb3958704a8727f65351bd87b46d1501f2897d92..889d3a13e95e4ef36ca3efedb35cc7fb3afdac37 100644 (file)
@@ -779,7 +779,8 @@ static int fs_init_phy(struct net_device *dev)
        fep->oldspeed = 0;
        fep->oldduplex = -1;
        if(fep->fpi->bus_id)
-               phydev = phy_connect(dev, fep->fpi->bus_id, &fs_adjust_link, 0);
+               phydev = phy_connect(dev, fep->fpi->bus_id, &fs_adjust_link, 0,
+                               PHY_INTERFACE_MODE_MII);
        else {
                printk("No phy bus ID specified in BSP code\n");
                return -EINVAL;
This page took 0.024322 seconds and 5 git commands to generate.