summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/toshiba
diff options
context:
space:
mode:
authorMichal Schmidt2016-03-02 13:47:06 +0100
committerDavid S. Miller2016-03-02 19:31:55 +0100
commit5cc5c2d2e5a46c7395a0453f9ea1a446ac4c1b97 (patch)
tree383440799941c8358c4a0633ebb38afa9d3c33f3 /drivers/net/ethernet/toshiba
parentbnx2x: fix crash on big-endian when adding VLAN (diff)
downloadkernel-qcow2-linux-5cc5c2d2e5a46c7395a0453f9ea1a446ac4c1b97.tar.gz
kernel-qcow2-linux-5cc5c2d2e5a46c7395a0453f9ea1a446ac4c1b97.tar.xz
kernel-qcow2-linux-5cc5c2d2e5a46c7395a0453f9ea1a446ac4c1b97.zip
bnx2x: fix sending VF->PF messages on big-endian
When a VF is sending a message to the PF, it needs to trigger the PF to tell it the message is ready. The trigger did not work on ppc64. No interrupt appeared in the PF. The bug is due to confusion about the layout of struct trigger_vf_zone. In bnx2x_send_msg2pf() the trigger is written using writeb(), not writel(), so the attempt to define the struct with a reversed layout on big-endian is counter-productive. Signed-off-by: Michal Schmidt <mschmidt@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/toshiba')
0 files changed, 0 insertions, 0 deletions