]> git.baikalelectronics.ru Git - kernel.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)
commit373b74883b6ea9c0adcb526c4fff591148d16cab
tree961edc48d145593b704b2ef2fe951fd544f65c32
parent7c3e0b1513e6daf5be8477274ac3fc5f18489f02
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