]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: fix mccq create for big endian architectures
authorAjit Khaparde <ajitk@serverengines.com>
Thu, 11 Mar 2010 01:35:59 +0000 (01:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Mar 2010 22:46:59 +0000 (15:46 -0700)
commit65cbd8211bb16b6b2b2622b427887b456d3b021a
tree63fba3719134717b53bd1ef1362bda13e7e7e876
parent4eea1b9e124049f8affbcd9d25a106b6831a07e9
be2net: fix mccq create for big endian architectures

The request to create an mccq was being dispatched without
doing a byte swap of num_pages. This byte swap is necessary
for Big Endian systems like PPC. Not having this fix leads
mccq create to fail on BE ASICs running newer version of
firmware, thereby causing driver initialization failure.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c