• Randy Dunlap's avatar
    vmxnet: fix 2 build problems · 8f7e524c
    Randy Dunlap authored
    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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: default avatarBhavesh davda <bhavesh@vmware.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    8f7e524c
vmxnet3_drv.c 65.5 KB