diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-02-02 13:53:57 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-02 13:53:57 -0800 |
commit | 26351479ed43288be92935826c215fbe01e2abb2 (patch) | |
tree | 07b9669909f757e781ecb8d1694607099c75ae9f /drivers/net/qlge/qlge.h | |
parent | e408b8dcb5ce42243a902205005208e590f28454 (diff) |
qlge: bugfix: Fix endian issue when reading flash.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r-- | drivers/net/qlge/qlge.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index c1dadadfab1..e6fdce9206c 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h @@ -787,12 +787,12 @@ struct mbox_params { struct flash_params { u8 dev_id_str[4]; - u16 size; - u16 csum; - u16 ver; - u16 sub_dev_id; + __le16 size; + __le16 csum; + __le16 ver; + __le16 sub_dev_id; u8 mac_addr[6]; - u16 res; + __le16 res; }; |