X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/fb9db09832f7c47995675da262762c047a001e3a..e2329f34d097ced237bb69e8431fea6cbeebd4fa:/target/linux/ar7/patches-2.6.32/950-cpmac_fallback_switch.patch diff --git a/target/linux/ar7/patches-2.6.32/950-cpmac_fallback_switch.patch b/target/linux/ar7/patches-2.6.32/950-cpmac_fallback_switch.patch deleted file mode 100644 index 005822075..000000000 --- a/target/linux/ar7/patches-2.6.32/950-cpmac_fallback_switch.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/drivers/net/cpmac.c -+++ b/drivers/net/cpmac.c -@@ -1132,8 +1132,9 @@ static int __devinit cpmac_probe(struct - } - - if (phy_id == PHY_MAX_ADDR) { -- dev_err(&pdev->dev, "no PHY present\n"); -- return -ENODEV; -+ dev_err(&pdev->dev, "no PHY present, falling back to switch mode\n"); -+ strncpy(mdio_bus_id, "0", MII_BUS_ID_SIZE); /* fixed phys bus */ -+ phy_id = pdev->id; - } - - dev = alloc_etherdev_mq(sizeof(*priv), CPMAC_QUEUES);