X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fatlantic%2Fatl_types.h;h=e813d9f3268711948e9b8f07e5f353144e1d3a05;hb=b0764e7c207b0932ecd73655d8f7aa015e6733f4;hp=3cc9e96089e8621d98b9092814cada77be9ef733;hpb=0ec6573b3bc3dac0435c83b28cf659b54c2b4786;p=dpdk.git diff --git a/drivers/net/atlantic/atl_types.h b/drivers/net/atlantic/atl_types.h index 3cc9e96089..e813d9f326 100644 --- a/drivers/net/atlantic/atl_types.h +++ b/drivers/net/atlantic/atl_types.h @@ -10,6 +10,9 @@ #include #include #include +#include + +#include typedef uint8_t u8; typedef int8_t s8; @@ -128,6 +131,8 @@ struct aq_hw_s { struct hw_atl_stats_s last_stats; struct aq_stats_s curr_stats; + u32 caps_lo; + u64 speed; unsigned int chip_features; u32 fw_ver_actual; @@ -135,6 +140,8 @@ struct aq_hw_s { u32 rpc_addr; u32 rpc_tid; struct hw_aq_atl_utils_fw_rpc rpc; + + pthread_mutex_t mbox_mutex; }; struct aq_fw_ops { @@ -167,6 +174,7 @@ struct aq_fw_ops { int (*get_eee_rate)(struct aq_hw_s *self, u32 *rate, u32 *supported_rates); + int (*get_flow_control)(struct aq_hw_s *self, u32 *fc); int (*set_flow_control)(struct aq_hw_s *self); int (*led_control)(struct aq_hw_s *self, u32 mode); @@ -175,7 +183,7 @@ struct aq_fw_ops { u32 *data, u32 len, u32 offset); int (*set_eeprom)(struct aq_hw_s *self, int dev_addr, - u32 *data, u32 len); + u32 *data, u32 len, u32 offset); int (*send_macsec_req)(struct aq_hw_s *self, struct macsec_msg_fw_request *req,