]> git.karo-electronics.de Git - linux-beck.git/commit
qlcnic: Fix endian issues in 83xx driver
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Fri, 8 Mar 2013 09:53:49 +0000 (09:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Mar 2013 21:09:18 +0000 (16:09 -0500)
commita96227e66f0a0361d96885042629bf60eb6a4b39
tree961edc48d145593b704b2ef2fe951fd544f65c32
parent23bdbc80e1d17e5ea00138bae1f7f534faf4bb27
qlcnic: Fix endian issues in 83xx driver

o Split mailbox structure elements on boundary of adapter
  register size i.e. 32bit.
o Shuffle the position of structure elements based on CPU endianness.

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c