phymod_sdk_diag.h (685B)
1 /* 2 * 3 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 4 * 5 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 6 * 7 * File: phymod_sdk_diag.h 8 * Purpose: Extern declarations for phymod diagnostics support. 9 */ 10 11 #ifndef _PHYMOD_SDK_DIAG_H_ 12 #define _PHYMOD_SDK_DIAG_H_ 13 14 #include <phymod/phymod.h> 15 #include <phymod/phymod_diag.h> 16 17 typedef int (*phymod_diag_map_func_f)(int unit, int port, int array_size, phymod_phy_access_t *access_array, int *actual_size); 18 cmd_result_t phymod_sdk_diag(int unit, phymod_diag_map_func_f port_map ,args_t *args); 19 20 #endif /* _PHYMOD_SDK_DIAG_H_ */