aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.4/072-bgmac-reset-enable-Ethernet-core-before-using-it.patch
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-07-04 19:59:58 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-07-04 19:59:58 +0200
commit3259bc24af1f2022d673b8fdb23da8030322413a (patch)
treefd5aa18680dafb743526d0849c3e83f8cc3274d2 /target/linux/generic/patches-4.4/072-bgmac-reset-enable-Ethernet-core-before-using-it.patch
parent0a49be215b4eb74415cce189c043126a06f678f1 (diff)
downloadmaster-187ad058-3259bc24af1f2022d673b8fdb23da8030322413a.tar.gz
master-187ad058-3259bc24af1f2022d673b8fdb23da8030322413a.tar.bz2
master-187ad058-3259bc24af1f2022d673b8fdb23da8030322413a.zip
kernel: rename bgmac patches that went into the same kernel
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Diffstat (limited to 'target/linux/generic/patches-4.4/072-bgmac-reset-enable-Ethernet-core-before-using-it.patch')
-rw-r--r--target/linux/generic/patches-4.4/072-bgmac-reset-enable-Ethernet-core-before-using-it.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/generic/patches-4.4/072-bgmac-reset-enable-Ethernet-core-before-using-it.patch b/target/linux/generic/patches-4.4/072-bgmac-reset-enable-Ethernet-core-before-using-it.patch
deleted file mode 100644
index 1306072c84..0000000000
--- a/target/linux/generic/patches-4.4/072-bgmac-reset-enable-Ethernet-core-before-using-it.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From b4dfd8e92956b396d3438212bc9a0be6267b8b34 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Tue, 12 Apr 2016 13:30:45 +0200
-Subject: [PATCH] bgmac: reset & enable Ethernet core before using it
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This fixes Ethernet on D-Link DIR-885L with BCM47094 SoC. Felix reported
-similar fix was needed for his BCM4709 device (Buffalo WXR-1900DHP?).
-I tested this for regressions on BCM4706, BCM4708A0 and BCM47081A0.
-
-Cc: Felix Fietkau <nbd@nbd.name>
-Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
----
-
---- a/drivers/net/ethernet/broadcom/bgmac.c
-+++ b/drivers/net/ethernet/broadcom/bgmac.c
-@@ -1578,6 +1578,11 @@ static int bgmac_probe(struct bcma_devic
- dev_warn(&core->dev, "Using random MAC: %pM\n", mac);
- }
-
-+ /* This (reset &) enable is not preset in specs or reference driver but
-+ * Broadcom does it in arch PCI code when enabling fake PCI device.
-+ */
-+ bcma_core_enable(core, 0);
-+
- /* Allocation and references */
- net_dev = alloc_etherdev(sizeof(*bgmac));
- if (!net_dev)