summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/25-multicast-list_head
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-06-27 18:35:55 +0000
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-07-01 13:39:11 -0700
commitafe18ac2454e8ba8c3a45a837da7c7fca65c5aae (patch)
tree4c6922e03967d591f9d40b20ac5c0d987921528c /patches/collateral-evolutions/network/25-multicast-list_head
parente3220f58fc08f986c3b84458d50eee2d3b983690 (diff)
backports: add new alx upstream backport
This backports the new upstream alx driver and properly splits up each required backports into its respective collateral evolution bucket. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Diffstat (limited to 'patches/collateral-evolutions/network/25-multicast-list_head')
-rw-r--r--patches/collateral-evolutions/network/25-multicast-list_head/drivers_net_ethernet_atheros_alx_main.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/collateral-evolutions/network/25-multicast-list_head/drivers_net_ethernet_atheros_alx_main.patch b/patches/collateral-evolutions/network/25-multicast-list_head/drivers_net_ethernet_atheros_alx_main.patch
new file mode 100644
index 00000000..886bb874
--- /dev/null
+++ b/patches/collateral-evolutions/network/25-multicast-list_head/drivers_net_ethernet_atheros_alx_main.patch
@@ -0,0 +1,14 @@
+--- a/drivers/net/ethernet/atheros/alx/main.c
++++ b/drivers/net/ethernet/atheros/alx/main.c
+@@ -466,7 +466,11 @@ static void __alx_set_rx_mode(struct net
+
+ if (!(netdev->flags & IFF_ALLMULTI)) {
+ netdev_for_each_mc_addr(ha, netdev)
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35))
+ alx_add_mc_addr(hw, ha->addr, mc_hash);
++#else
++ alx_add_mc_addr(hw, ha->dmi_addr, mc_hash);
++#endif
+
+ alx_write_mem32(hw, ALX_HASH_TBL0, mc_hash[0]);
+ alx_write_mem32(hw, ALX_HASH_TBL1, mc_hash[1]);