diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-08-23 00:47:03 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:01 -0400 |
commit | c676504ef5fe682bd343149de0e5c57bbf793ff9 (patch) | |
tree | 31e051a26b4bca8eea118259246b8d1f6ff72b98 /drivers/net/ixgb/ixgb_ee.h | |
parent | 3e33545ba6f8ca04b28a015e095662a35a4e2670 (diff) |
ixgb: endianness
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ixgb/ixgb_ee.h')
-rw-r--r-- | drivers/net/ixgb/ixgb_ee.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/net/ixgb/ixgb_ee.h b/drivers/net/ixgb/ixgb_ee.h index ef236b935c15..7908bf3005ed 100644 --- a/drivers/net/ixgb/ixgb_ee.h +++ b/drivers/net/ixgb/ixgb_ee.h | |||
@@ -76,22 +76,22 @@ | |||
76 | /* EEPROM structure */ | 76 | /* EEPROM structure */ |
77 | struct ixgb_ee_map_type { | 77 | struct ixgb_ee_map_type { |
78 | uint8_t mac_addr[IXGB_ETH_LENGTH_OF_ADDRESS]; | 78 | uint8_t mac_addr[IXGB_ETH_LENGTH_OF_ADDRESS]; |
79 | uint16_t compatibility; | 79 | __le16 compatibility; |
80 | uint16_t reserved1[4]; | 80 | __le16 reserved1[4]; |
81 | uint32_t pba_number; | 81 | __le32 pba_number; |
82 | uint16_t init_ctrl_reg_1; | 82 | __le16 init_ctrl_reg_1; |
83 | uint16_t subsystem_id; | 83 | __le16 subsystem_id; |
84 | uint16_t subvendor_id; | 84 | __le16 subvendor_id; |
85 | uint16_t device_id; | 85 | __le16 device_id; |
86 | uint16_t vendor_id; | 86 | __le16 vendor_id; |
87 | uint16_t init_ctrl_reg_2; | 87 | __le16 init_ctrl_reg_2; |
88 | uint16_t oem_reserved[16]; | 88 | __le16 oem_reserved[16]; |
89 | uint16_t swdpins_reg; | 89 | __le16 swdpins_reg; |
90 | uint16_t circuit_ctrl_reg; | 90 | __le16 circuit_ctrl_reg; |
91 | uint8_t d3_power; | 91 | uint8_t d3_power; |
92 | uint8_t d0_power; | 92 | uint8_t d0_power; |
93 | uint16_t reserved2[28]; | 93 | __le16 reserved2[28]; |
94 | uint16_t checksum; | 94 | __le16 checksum; |
95 | }; | 95 | }; |
96 | 96 | ||
97 | /* EEPROM Functions */ | 97 | /* EEPROM Functions */ |