]> err.no Git - linux-2.6/blobdiff - drivers/net/ucc_geth.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen...
[linux-2.6] / drivers / net / ucc_geth.c
index 0ee4c168e4c0ce00596a74599c5d8f408b386e67..29a4d650e8a8efcc1057ebad77746928a5f08157 100644 (file)
@@ -3954,7 +3954,7 @@ static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *ma
                if (err)
                        return -1;
 
-               ug_info->mdio_bus = res.start;
+               snprintf(ug_info->mdio_bus, MII_BUS_ID_SIZE, "%x", res.start);
        }
 
        /* get the phy interface type, or default to MII */