aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2008-08-26 07:26:59 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-09-03 10:03:32 -0400
commit9da09bb1b806a85a0bc4fb5426fb3022f56aad19 (patch)
treead0d7d65a30300b2df717f21a0db4402e4e75247 /drivers/net/ixgbe
parent712744bebef1e47623244004a2770d0438b5b3f7 (diff)
ixgbe: add little endian annotations for sparse
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r--drivers/net/ixgbe/ixgbe_type.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/ixgbe/ixgbe_type.h b/drivers/net/ixgbe/ixgbe_type.h
index c0282a223df3..781f137deccf 100644
--- a/drivers/net/ixgbe/ixgbe_type.h
+++ b/drivers/net/ixgbe/ixgbe_type.h
@@ -1007,15 +1007,15 @@ struct ixgbe_legacy_tx_desc {
1007 __le32 data; 1007 __le32 data;
1008 struct { 1008 struct {
1009 __le16 length; /* Data buffer length */ 1009 __le16 length; /* Data buffer length */
1010 u8 cso; /* Checksum offset */ 1010 u8 cso; /* Checksum offset */
1011 u8 cmd; /* Descriptor control */ 1011 u8 cmd; /* Descriptor control */
1012 } flags; 1012 } flags;
1013 } lower; 1013 } lower;
1014 union { 1014 union {
1015 __le32 data; 1015 __le32 data;
1016 struct { 1016 struct {
1017 u8 status; /* Descriptor status */ 1017 u8 status; /* Descriptor status */
1018 u8 css; /* Checksum start */ 1018 u8 css; /* Checksum start */
1019 __le16 vlan; 1019 __le16 vlan;
1020 } fields; 1020 } fields;
1021 } upper; 1021 } upper;
@@ -1039,9 +1039,9 @@ union ixgbe_adv_tx_desc {
1039struct ixgbe_legacy_rx_desc { 1039struct ixgbe_legacy_rx_desc {
1040 __le64 buffer_addr; /* Address of the descriptor's data buffer */ 1040 __le64 buffer_addr; /* Address of the descriptor's data buffer */
1041 __le16 length; /* Length of data DMAed into data buffer */ 1041 __le16 length; /* Length of data DMAed into data buffer */
1042 u16 csum; /* Packet checksum */ 1042 __le16 csum; /* Packet checksum */
1043 u8 status; /* Descriptor status */ 1043 u8 status; /* Descriptor status */
1044 u8 errors; /* Descriptor Errors */ 1044 u8 errors; /* Descriptor Errors */
1045 __le16 vlan; 1045 __le16 vlan;
1046}; 1046};
1047 1047
@@ -1061,7 +1061,7 @@ union ixgbe_adv_rx_desc {
1061 __le32 rss; /* RSS Hash */ 1061 __le32 rss; /* RSS Hash */
1062 struct { 1062 struct {
1063 __le16 ip_id; /* IP id */ 1063 __le16 ip_id; /* IP id */
1064 u16 csum; /* Packet Checksum */ 1064 __le16 csum; /* Packet Checksum */
1065 } csum_ip; 1065 } csum_ip;
1066 } hi_dword; 1066 } hi_dword;
1067 } lower; 1067 } lower;