mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
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>
This commit is contained in:
parent
327c685eb7
commit
d98a4ffe0d
7 changed files with 56 additions and 8 deletions
|
@ -1330,6 +1330,11 @@ struct efx_nic_type {
|
|||
int (*ptp_set_ts_sync_events)(struct efx_nic *efx, bool en, bool temp);
|
||||
int (*ptp_set_ts_config)(struct efx_nic *efx,
|
||||
struct hwtstamp_config *init);
|
||||
int (*sriov_init)(struct efx_nic *efx);
|
||||
void (*sriov_fini)(struct efx_nic *efx);
|
||||
void (*sriov_mac_address_changed)(struct efx_nic *efx);
|
||||
bool (*sriov_wanted)(struct efx_nic *efx);
|
||||
void (*sriov_reset)(struct efx_nic *efx);
|
||||
|
||||
int revision;
|
||||
unsigned int txd_ptr_tbl_base;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue