ar71xx: add an id argument to ar71xx_add_device_mdio
[oweals/openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-dir-615-c1.c
index 2b1a8e24b106eb28ecbf8a02b1be5e6b19851d39..fcadc6f06799f7eaf55fc40a01cde62741e2d94c 100644 (file)
@@ -55,11 +55,11 @@ static struct mtd_partition dir_615c1_partitions[] = {
        }, {
                .name           = "kernel",
                .offset         = 0x030000,
-               .size           = 0x0d0000,
+               .size           = 0x0e0000,
        }, {
                .name           = "rootfs",
-               .offset         = 0x100000,
-               .size           = 0x2f0000,
+               .offset         = 0x110000,
+               .size           = 0x2e0000,
        }, {
                .name           = "art",
                .offset         = 0x3f0000,
@@ -148,7 +148,7 @@ static void __init dir_615c1_setup(void)
                wlan_mac = mac;
        }
 
-       ar71xx_add_device_mdio(DIR_615C1_MDIO_MASK);
+       ar71xx_add_device_mdio(0, DIR_615C1_MDIO_MASK);
 
        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
        ar71xx_eth0_data.phy_mask = DIR_615C1_LAN_PHYMASK;