sfc: Add NIC type operations to replace direct calls from efx.c into siena_sriov.c
authorShradha Shah <sshah@solarflare.com>
Wed, 5 Nov 2014 12:16:46 +0000 (12:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Nov 2014 19:43:09 +0000 (14:43 -0500)
commitd98a4ffe0d7a8946c67d115f8b3bd8e5bb1df86d
tree8759bd88647af178390ac8c16e03b9a6f794c762
parent327c685eb745e3c56ed52734d3671dcf6f4f6940
sfc: Add NIC type operations to replace direct calls from efx.c into siena_sriov.c

Also add dummy functions where required to avoid NULL pointer dereference.

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/efx.c
drivers/net/ethernet/sfc/falcon.c
drivers/net/ethernet/sfc/farch.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/nic.h
drivers/net/ethernet/sfc/siena.c