vmxnet: fix 2 build problems
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 15 Oct 2009 03:38:58 +0000 (20:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Oct 2009 03:38:58 +0000 (20:38 -0700)
commit8f7e524ce33ca81b663711404709396165da3cbd
tree30ed4b5268b015a662e7c2cd0a0286d061d235dc
parent47dd7a540b8a0cdc028914b7351fca0cf0a1d305
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>
drivers/net/Kconfig
drivers/net/vmxnet3/vmxnet3_drv.c