[OpenWrt-Devel] [PATCH 3/3] [x86] add EBOX-3300 target

Kamil Wcislo mek.xgt at gmail.com
Tue Oct 28 17:34:37 EDT 2014


Fix enumeration problem with r6040 ethernet controller.

Bug and fix described here:
https://bugzilla.kernel.org/show_bug.cgi?id=64081

Signed-off-by: Kamil Wcislo <mek.xgt at gmail.com>
---

diff --git a/target/linux/x86/patches-3.10/180-rdc-r6040-fix.patch b/target/linux/x86/patches-3.10/180-rdc-r6040-fix.patch
new file mode 100644
index 0000000..2d7fb47
--- /dev/null
+++ b/target/linux/x86/patches-3.10/180-rdc-r6040-fix.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/ethernet/rdc/r6040.c
++++ b/drivers/net/ethernet/rdc/r6040.c
+@@ -144,7 +144,7 @@
+ #define MBCR_DEFAULT	0x012A	/* MAC Bus Control Register */
+ #define MCAST_MAX	3	/* Max number multicast addresses to filter */
+
+-#define MAC_DEF_TIMEOUT	2048	/* Default MAC read/write operation timeout */
++#define MAC_DEF_TIMEOUT	4096	/* Default MAC read/write operation timeout */
+
+ /* Descriptor status */
+ #define DSC_OWNER_MAC	0x8000	/* MAC is the owner of this descriptor */
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list