aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorManish Chopra <manish.chopra@qlogic.com>2014-09-02 04:31:25 -0400
committerDavid S. Miller <davem@davemloft.net>2014-09-02 13:54:35 -0700
commit04860eb7d911bbd958463416cc045b69ffdf73b3 (patch)
treeb077efa246bd5f32aad44e4239115f77253dc3a9 /include
parent511c24456ad19d51fcdbc5eda9df7be98c20e6b0 (diff)
bnx2x: Configure device endianity on driver load and reset endianity on removal.
Some hosts can be both little and big endian. In certain scenarios a big endian kernel can kexec a little endian kernel. This patch fixes this case from both ends: 1) Return endianity to original values on shutdown (in case little endian kernel boots after we shutdown). 2) Do not rely on HW reset values when loading driver in little endian kernel but configure them explicitly (in case previous kernel was big endian and did not reset the HW). Signed-off-by: Manish Chopra <manish.chopra@qlogic.com> Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions

Privacy Policy