diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2011-04-17 18:39:38 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@openwrt.org> | 2011-04-17 18:39:38 +0000 |
| commit | f5d3d0e7d8372eb90f8e7db528b9e220fab56347 (patch) | |
| tree | ac82daf3c891cec2be46b2114923dcb96bddf2c6 /target/linux/ar7/patches-2.6.32/950-cpmac_fallback_switch.patch | |
| parent | 64f67b9c2a7853840fc4d0a44b2b4430d256014c (diff) | |
| download | mtk-20170518-f5d3d0e7d8372eb90f8e7db528b9e220fab56347.zip mtk-20170518-f5d3d0e7d8372eb90f8e7db528b9e220fab56347.tar.gz mtk-20170518-f5d3d0e7d8372eb90f8e7db528b9e220fab56347.tar.bz2 | |
ar7: remove patches/configs for old kernel versions
SVN-Revision: 26707
Diffstat (limited to 'target/linux/ar7/patches-2.6.32/950-cpmac_fallback_switch.patch')
| -rw-r--r-- | target/linux/ar7/patches-2.6.32/950-cpmac_fallback_switch.patch | 14 |
1 files changed, 0 insertions, 14 deletions
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 0058220..0000000 --- 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); |
