diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-11-07 22:41:28 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-11-07 22:41:28 +0000 |
commit | 58aa0fff4a5b2163798b264d8778f25bd66c2ac3 (patch) | |
tree | b23efd35cc25d015b232afe6215b96f0e8442aa8 /target/linux/rdc/patches-2.6.32/015-r6040_fix_multicast.patch | |
parent | e44f1e63c112dd4fa86e2edbcaa743e569245c44 (diff) | |
download | master-187ad058-58aa0fff4a5b2163798b264d8778f25bd66c2ac3.tar.gz master-187ad058-58aa0fff4a5b2163798b264d8778f25bd66c2ac3.tar.bz2 master-187ad058-58aa0fff4a5b2163798b264d8778f25bd66c2ac3.zip |
[rdc] refresh patches, remove 015-r6040_fix_multicast.patch (upstreamed)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23918 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/patches-2.6.32/015-r6040_fix_multicast.patch')
-rw-r--r-- | target/linux/rdc/patches-2.6.32/015-r6040_fix_multicast.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/target/linux/rdc/patches-2.6.32/015-r6040_fix_multicast.patch b/target/linux/rdc/patches-2.6.32/015-r6040_fix_multicast.patch deleted file mode 100644 index f41b4b5423..0000000000 --- a/target/linux/rdc/patches-2.6.32/015-r6040_fix_multicast.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- ---- a/drivers/net/r6040.c -+++ b/drivers/net/r6040.c -@@ -136,7 +136,7 @@ - #define RX_DESC_SIZE (RX_DCNT * sizeof(struct r6040_descriptor)) - #define TX_DESC_SIZE (TX_DCNT * sizeof(struct r6040_descriptor)) - #define MBCR_DEFAULT 0x012A /* MAC Bus Control Register */ --#define MCAST_MAX 4 /* Max number multicast addresses to filter */ -+#define MCAST_MAX 3 /* Max number multicast addresses to filter */ - - /* Descriptor status */ - #define DSC_OWNER_MAC 0x8000 /* MAC is the owner of this descriptor */ -@@ -887,9 +887,6 @@ static void r6040_multicast_list(struct - crc >>= 26; - hash_table[crc >> 4] |= 1 << (15 - (crc & 0xf)); - } -- /* Write the index of the hash table */ -- for (i = 0; i < 4; i++) -- iowrite16(hash_table[i] << 14, ioaddr + MCR1); - /* Fill the MAC hash tables with their values */ - iowrite16(hash_table[0], ioaddr + MAR0); - iowrite16(hash_table[1], ioaddr + MAR1); -@@ -905,9 +902,9 @@ static void r6040_multicast_list(struct - dmi = dmi->next; - } - for (i = dev->mc_count; i < MCAST_MAX; i++) { -- iowrite16(0xffff, ioaddr + MID_0L + 8*i); -- iowrite16(0xffff, ioaddr + MID_0M + 8*i); -- iowrite16(0xffff, ioaddr + MID_0H + 8*i); -+ iowrite16(0xffff, ioaddr + MID_1L + 8 * i); -+ iowrite16(0xffff, ioaddr + MID_1M + 8 * i); -+ iowrite16(0xffff, ioaddr + MID_1H + 8 * i); - } - } - |