From fb256fa2b7cb32cbca5be47e7428f85de4d2ee23 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Mon, 10 Dec 2007 19:00:38 +0000 Subject: [PATCH] --- yaml --- r: 79207 b: refs/heads/master c: a7df90a51944a963d9a4fbe12790630aa4da7aee h: refs/heads/master i: 79205: c2fe4c15f48ce0307c506a74f225e6405e1fd699 79203: bd2bab725f3b5609291e979f4d2b0bc149982bc0 79199: 0423f4be9c439c8e8a6738ecb1a0f4430603140c v: v3 --- [refs] | 2 +- trunk/drivers/net/ixgb/ixgb_hw.h | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/[refs] b/[refs] index 80ced539a751..0ce0b02bade3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8327d000e092f737f7d6602258e5c7575686cc37 +refs/heads/master: a7df90a51944a963d9a4fbe12790630aa4da7aee diff --git a/trunk/drivers/net/ixgb/ixgb_hw.h b/trunk/drivers/net/ixgb/ixgb_hw.h index af5643324ee3..7a7684d094dc 100644 --- a/trunk/drivers/net/ixgb/ixgb_hw.h +++ b/trunk/drivers/net/ixgb/ixgb_hw.h @@ -534,12 +534,12 @@ typedef enum { * in which case the structure must be packed in some compiler-specific * manner. */ struct ixgb_rx_desc { - uint64_t buff_addr; - uint16_t length; - uint16_t reserved; + __le64 buff_addr; + __le16 length; + __le16 reserved; uint8_t status; uint8_t errors; - uint16_t special; + __le16 special; }; #define IXGB_RX_DESC_STATUS_DD 0x01 @@ -567,11 +567,11 @@ struct ixgb_rx_desc { * in which case the structure must be packed in some compiler-specific * manner. */ struct ixgb_tx_desc { - uint64_t buff_addr; - uint32_t cmd_type_len; + __le64 buff_addr; + __le32 cmd_type_len; uint8_t status; uint8_t popts; - uint16_t vlan; + __le16 vlan; }; #define IXGB_TX_DESC_LENGTH_MASK 0x000FFFFF @@ -596,14 +596,14 @@ struct ixgb_tx_desc { struct ixgb_context_desc { uint8_t ipcss; uint8_t ipcso; - uint16_t ipcse; + __le16 ipcse; uint8_t tucss; uint8_t tucso; - uint16_t tucse; - uint32_t cmd_type_len; + __le16 tucse; + __le32 cmd_type_len; uint8_t status; uint8_t hdr_len; - uint16_t mss; + __le16 mss; }; #define IXGB_CONTEXT_DESC_CMD_TCP 0x01000000