Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343664
b: refs/heads/master
c: cecdcd5
h: refs/heads/master
v: v3
  • Loading branch information
Tatyana Nikolova authored and Roland Dreier committed Nov 22, 2012
1 parent 96d721d commit c540402
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fc8d7547b1e19e1bb8f3206837ee0c7c6538e2e5
refs/heads/master: cecdcd5f24be8c532ad8dcbbd93c7b477cfd3413
13 changes: 7 additions & 6 deletions trunk/drivers/infiniband/hw/nes/nes_nic.c
Original file line number Diff line number Diff line change
Expand Up @@ -944,12 +944,13 @@ static void nes_netdev_set_multicast_list(struct net_device *netdev)
addr,
perfect_filter_register_address+(mc_index * 8),
mc_nic_index);
macaddr_high = ((u16) addr[0]) << 8;
macaddr_high += (u16) addr[1];
macaddr_low = ((u32) addr[2]) << 24;
macaddr_low += ((u32) addr[3]) << 16;
macaddr_low += ((u32) addr[4]) << 8;
macaddr_low += (u32) addr[5];
macaddr_high = ((u8) addr[0]) << 8;
macaddr_high += (u8) addr[1];
macaddr_low = ((u8) addr[2]) << 24;
macaddr_low += ((u8) addr[3]) << 16;
macaddr_low += ((u8) addr[4]) << 8;
macaddr_low += (u8) addr[5];

nes_write_indexed(nesdev,
perfect_filter_register_address+(mc_index * 8),
macaddr_low);
Expand Down

0 comments on commit c540402

Please sign in to comment.