projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78ce8d3
)
r8169 endianness
author
Al Viro
<
[email protected]
>
Sat, 22 Dec 2007 18:55:39 +0000
(18:55 +0000)
committer
Jeff Garzik
<
[email protected]
>
Sun, 23 Dec 2007 03:53:07 +0000
(22:53 -0500)
missing conversions in a couple of places
Signed-off-by: Al Viro <
[email protected]
>
Signed-off-by: Jeff Garzik <
[email protected]
>
drivers/net/r8169.c
patch
|
blob
|
history
diff --git
a/drivers/net/r8169.c
b/drivers/net/r8169.c
index 1f647b9ce352128ae65fbc3d15d15062615adeea..5863190894cc9ce9464ec02404e915b8367c0a3c 100644
(file)
--- a/
drivers/net/r8169.c
+++ b/
drivers/net/r8169.c
@@
-2211,7
+2211,7
@@
out:
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);
}
@@
-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++;