diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-10-14 23:38:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-14 23:38:58 -0400 |
commit | 8f7e524ce33ca81b663711404709396165da3cbd (patch) | |
tree | 30ed4b5268b015a662e7c2cd0a0286d061d235dc /drivers/net/Kconfig | |
parent | 47dd7a540b8a0cdc028914b7351fca0cf0a1d305 (diff) |
vmxnet: fix 2 build problems
vmxnet3 uses in_dev* interfaces so it should depend on INET.
Also fix so that the driver builds when CONFIG_PCI_MSI is disabled.
vmxnet3_drv.c:(.text+0x2a88cb): undefined reference to `in_dev_finish_destroy'
drivers/net/vmxnet3/vmxnet3_drv.c:1335: error: 'struct vmxnet3_intr' has no member named 'msix_entries'
drivers/net/vmxnet3/vmxnet3_drv.c:1384: error: 'struct vmxnet3_intr' has no member named 'msix_entries'
drivers/net/vmxnet3/vmxnet3_drv.c:2137: error: 'struct vmxnet3_intr' has no member named 'msix_entries'
drivers/net/vmxnet3/vmxnet3_drv.c:2138: error: 'struct vmxnet3_intr' has no member named 'msix_entries'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Bhavesh davda <bhavesh@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index ce2eba173865..e19ca4bb7510 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -3235,7 +3235,7 @@ config VIRTIO_NET | |||
3235 | 3235 | ||
3236 | config VMXNET3 | 3236 | config VMXNET3 |
3237 | tristate "VMware VMXNET3 ethernet driver" | 3237 | tristate "VMware VMXNET3 ethernet driver" |
3238 | depends on PCI && X86 | 3238 | depends on PCI && X86 && INET |
3239 | help | 3239 | help |
3240 | This driver supports VMware's vmxnet3 virtual ethernet NIC. | 3240 | This driver supports VMware's vmxnet3 virtual ethernet NIC. |
3241 | To compile this driver as a module, choose M here: the | 3241 | To compile this driver as a module, choose M here: the |