sfc: Prepare to bind the sfc driver to the VF.
authorShradha Shah <sshah@solarflare.com>
Tue, 5 May 2015 23:58:14 +0000 (00:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2015 20:16:47 +0000 (16:16 -0400)
commit02246a7f966c2e66ff0453d12d9b8d1bff895cf9
tree81e42c59db4509aae03f30f76b4d195d238029f2
parent1cd9ecbbe6e9261578510962ad899415053acc1d
sfc: Prepare to bind the sfc driver to the VF.

Added efx_nic_type structure for VF.
Mapped a different BAR for VF as it uses BAR 0 for memory.
Added functions sriov_init and sriov_fini.

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/ef10_sriov.c
drivers/net/ethernet/sfc/ef10_sriov.h
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/efx.h
drivers/net/ethernet/sfc/falcon.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/nic.h
drivers/net/ethernet/sfc/siena.c