X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fqede%2Fbase%2Fbcm_osal.h;h=5d4df5907aef12045b82c9d4bf0691c1e12a7a4d;hb=8716f9942a408a79a114ac0496e4e7d55bc9944c;hp=6ea3e7dda1458aa53abb6fdf3cbae5b06a43dd45;hpb=2352f348c997a34549c71c99029fb3d214aad39a;p=dpdk.git diff --git a/drivers/net/qede/base/bcm_osal.h b/drivers/net/qede/base/bcm_osal.h index 6ea3e7dda1..5d4df5907a 100644 --- a/drivers/net/qede/base/bcm_osal.h +++ b/drivers/net/qede/base/bcm_osal.h @@ -371,6 +371,11 @@ void qede_hw_err_notify(struct ecore_hwfn *p_hwfn, /* TODO: */ #define OSAL_SCHEDULE_RECOVERY_HANDLER(hwfn) nothing + +int qede_save_fw_dump(uint8_t port_id); + +#define OSAL_SAVE_FW_DUMP(port_id) qede_save_fw_dump(port_id) + #define OSAL_HW_ERROR_OCCURRED(hwfn, err_type) \ qede_hw_err_notify(hwfn, err_type) @@ -457,7 +462,10 @@ void qed_set_platform_str(struct ecore_hwfn *p_hwfn, #define OSAL_SET_PLATFORM_STR(p_hwfn, buf_str, buf_size) \ qed_set_platform_str(p_hwfn, buf_str, buf_size) #define OSAL_GET_EPOCH(p_hwfn) ((u32)time(NULL)) -#define OSAL_DBG_ALLOC_USER_DATA(p_hwfn, user_data_ptr) (0) +enum dbg_status qed_dbg_alloc_user_data(struct ecore_hwfn *p_hwfn, + void **user_data_ptr); +#define OSAL_DBG_ALLOC_USER_DATA(p_hwfn, user_data_ptr) \ + qed_dbg_alloc_user_data(p_hwfn, user_data_ptr) #define OSAL_DB_REC_OCCURRED(p_hwfn) nothing #endif /* __BCM_OSAL_H */