From: Al Viro Date: Sun, 16 Mar 2008 22:21:44 +0000 (+0000) Subject: e100: endianness annotations X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1172899a30d0c26df934d63cc98241cd53fe7130;p=openwrt%2Fstaging%2Fblogic.git e100: endianness annotations Signed-off-by: Al Viro Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/e100.c b/drivers/net/e100.c index cdf3090a1885..2d139ec79777 100644 --- a/drivers/net/e100.c +++ b/drivers/net/e100.c @@ -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 */