Skip to content

Commit

Permalink
net: Getting rid of the x86 dependency to built vmxnet3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shreyas Bhatewara authored and David S. Miller committed Nov 17, 2009
1 parent 649300b commit 115924b
Show file tree
Hide file tree
Showing 5 changed files with 439 additions and 188 deletions.
2 changes: 1 addition & 1 deletion drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3235,7 +3235,7 @@ config VIRTIO_NET

config VMXNET3
tristate "VMware VMXNET3 ethernet driver"
depends on PCI && X86 && INET
depends on PCI && INET
help
This driver supports VMware's vmxnet3 virtual ethernet NIC.
To compile this driver as a module, choose M here: the
Expand Down
Loading

0 comments on commit 115924b

Please sign in to comment.