]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/sfc/net_driver.h
sfc: Always start Falcon using the XMAC
[karo-tx-linux.git] / drivers / net / sfc / net_driver.h
index 0aeaeda9db7ccb09f823663f8baeca0718ecd633..57f861468c1e2aad6b2b9637724dfe89970102b9 100644 (file)
@@ -843,6 +843,7 @@ static inline const char *efx_dev_name(struct efx_nic *efx)
 
 /**
  * struct efx_nic_type - Efx device type definition
+ * @default_mac_ops: efx_mac_operations to set at startup
  * @mem_map_size: Memory BAR mapped size
  * @txd_ptr_tbl_base: TX descriptor ring base address
  * @rxd_ptr_tbl_base: RX descriptor ring base address
@@ -857,6 +858,8 @@ static inline const char *efx_dev_name(struct efx_nic *efx)
  *     descriptors
  */
 struct efx_nic_type {
+       struct efx_mac_operations *default_mac_ops;
+
        unsigned int mem_map_size;
        unsigned int txd_ptr_tbl_base;
        unsigned int rxd_ptr_tbl_base;