Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75170
b: refs/heads/master
c: 95e0918
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Jeff Garzik committed Dec 23, 2007
1 parent 0693890 commit 9719e67
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: 78ce8d3d1c75c22ae593ad4ccaffa19ee0e2576d
refs/heads/master: 95e0918dbb6d83020ef3eb0a4276413264abd14d
4 changes: 2 additions & 2 deletions trunk/drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -2211,7 +2211,7 @@ static int rtl8169_change_mtu(struct net_device *dev, int new_mtu)

static inline void rtl8169_make_unusable_by_asic(struct RxDesc *desc)
{
desc->addr = 0x0badbadbadbadbadull;
desc->addr = cpu_to_le64(0x0badbadbadbadbadull);
desc->opts1 &= ~cpu_to_le32(DescOwn | RsvdMask);
}

Expand Down Expand Up @@ -2835,7 +2835,7 @@ static int rtl8169_rx_interrupt(struct net_device *dev,
}

/* Work around for AMD plateform. */
if ((desc->opts2 & 0xfffe000) &&
if ((desc->opts2 & cpu_to_le32(0xfffe000)) &&
(tp->mac_version == RTL_GIGA_MAC_VER_05)) {
desc->opts2 = 0;
cur_rx++;
Expand Down

0 comments on commit 9719e67

Please sign in to comment.