e100: endianness annotations
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 16 Mar 2008 22:21:44 +0000 (22:21 +0000)
committerJeff Garzik <jeff@garzik.org>
Wed, 26 Mar 2008 03:16:05 +0000 (23:16 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/e100.c

index cdf3090..2d139ec 100644 (file)
@@ -960,7 +960,7 @@ static void e100_get_defaults(struct nic *nic)
 
        /* Template for a freshly allocated RFD */
        nic->blank_rfd.command = 0;
-       nic->blank_rfd.rbd = 0xFFFFFFFF;
+       nic->blank_rfd.rbd = cpu_to_le32(0xFFFFFFFF);
        nic->blank_rfd.size = cpu_to_le16(VLAN_ETH_FRAME_LEN);
 
        /* MII setup */