net: Getting rid of the x86 dependency to built vmxnet3
authorShreyas Bhatewara <sbhatewara@vmware.com>
Mon, 16 Nov 2009 13:41:33 +0000 (13:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Nov 2009 12:08:50 +0000 (04:08 -0800)
commit115924b6bdc7cc6bf7da5b933b09281e1f4e17a9
tree8d883a13b6dc2b29caa77a6e178e921e4843db1c
parent649300b9278dc9fc9c7dfaaa3719ead70882e726
net: Getting rid of the x86 dependency to built vmxnet3

This patch removes config dependency on x86 to build vmxnet3 driver. Thus
the driver can be built on big endian architectures now. Although vmxnet3
is not supported on VMs other than x86 architecture, all this code goes in
to ensure correctness. If the code is not dependent on x86, it should not
assume little endian architecture in any of its operations.

Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig
drivers/net/vmxnet3/vmxnet3_defs.h
drivers/net/vmxnet3/vmxnet3_drv.c
drivers/net/vmxnet3/vmxnet3_ethtool.c
drivers/net/vmxnet3/vmxnet3_int.h