Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273261
b: refs/heads/master
c: e0c87bd
h: refs/heads/master
i:
  273259: e318b52
v: v3
  • Loading branch information
Alexandre Bounine authored and Linus Torvalds committed Nov 2, 2011
1 parent dd7dbfc commit 73b16e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 166c050bda80bb5dd627a287b6efcdfb68d172b4
refs/heads/master: e0c87bd95e8dad455c23bc56513af8dcb1737e55
4 changes: 2 additions & 2 deletions trunk/drivers/net/rionet.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ static struct rio_dev **rionet_active;
#define dev_rionet_capable(dev) \
is_rionet_capable(dev->src_ops, dev->dst_ops)

#define RIONET_MAC_MATCH(x) (*(u32 *)x == 0x00010001)
#define RIONET_GET_DESTID(x) (*(u16 *)(x + 4))
#define RIONET_MAC_MATCH(x) (!memcmp((x), "\00\01\00\01", 4))
#define RIONET_GET_DESTID(x) ((*((u8 *)x + 4) << 8) | *((u8 *)x + 5))

static int rionet_rx_clean(struct net_device *ndev)
{
Expand Down

0 comments on commit 73b16e2

Please sign in to comment.