diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-12-23 21:01:04 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-12 23:33:04 +0100 |
commit | 76285ee03737ba8105db0621aa3e49222f0644f2 (patch) | |
tree | a34fd1687b50376d5234d816546b9dedcaa0a74f /drivers/net/tulip/tulip_core.c | |
parent | de4x5 fixes (diff) | |
download | linux-76285ee03737ba8105db0621aa3e49222f0644f2.tar.xz linux-76285ee03737ba8105db0621aa3e49222f0644f2.zip |
endianness noise in tulip_core
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/tulip/tulip_core.c')
-rw-r--r-- | drivers/net/tulip/tulip_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c index e5e2c9c4ebfe..ed600bf56e78 100644 --- 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); |