projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
561b4fb
)
endianness noise in tulip_core
author
Al Viro
<viro@ftp.linux.org.uk>
Sun, 23 Dec 2007 20:01:04 +0000
(20:01 +0000)
committer
Jeff Garzik
<jeff@garzik.org>
Sat, 12 Jan 2008 22:33:04 +0000
(17:33 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/tulip/tulip_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/tulip/tulip_core.c
b/drivers/net/tulip/tulip_core.c
index e5e2c9c4ebfee5cc1174e7c36130d8da5b516a65..ed600bf56e786d6186ad64a04ad16c57dcd16c31 100644
(file)
--- a/
drivers/net/tulip/tulip_core.c
+++ b/
drivers/net/tulip/tulip_core.c
@@
-797,7
+797,8
@@
static int tulip_close (struct net_device *dev)
tp->rx_ring[i].status = 0; /* Not owned by Tulip chip. */
tp->rx_ring[i].length = 0;
- tp->rx_ring[i].buffer1 = 0xBADF00D0; /* An invalid address. */
+ /* An invalid address. */
+ tp->rx_ring[i].buffer1 = cpu_to_le32(0xBADF00D0);
if (skb) {
pci_unmap_single(tp->pdev, mapping, PKT_BUF_SZ,
PCI_DMA_FROMDEVICE);