ref_design_starter.h (1330B)
1 /* 2 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 3 * 4 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 5 */ 6 7 8 #ifndef __REF_DESIGN_STARTER_H_INCLUDED__ 9 /* { */ 10 #define __REF_DESIGN_STARTER_H_INCLUDED__ 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 /************* 17 * INCLUDES * 18 */ 19 /* { */ 20 21 /* } */ 22 23 /************* 24 * DEFINES * 25 */ 26 /* { */ 27 28 #if !DUNE_BCM 29 need to make these defines dynamic (hardcode for now) 30 #else 31 #define dune_rpc_are_all_line_type_x(x) (FALSE) 32 #define dune_rpc_are_all_line_type_x_family(x) ((x==LINE_CARD_GFA_PETRA_X) ? TRUE : FALSE) 33 #define dune_rpc_auto_learn_network(x) (x) 34 #define dune_rpc_get_is_auto_learning_valid() (TRUE) 35 #define dune_rpc_is_usr_app_flavor_in_the_system_compatible(x) (x) 36 #define dune_rpc_get_number_of_fabric_cards() (0) 37 38 #define dune_rpc_get_number_of_line_cards() (1) 39 #define dune_rpc_set_number_of_units(x) (0) 40 #define dune_rpc_is_fe_ready(x) (x) 41 42 #define tevb_is_timna_connected() (0) 43 #endif 44 45 /* } */ 46 47 /************* 48 * TYPE DEFS * 49 */ 50 /* { */ 51 52 /* } */ 53 54 /************* 55 * GLOBALS * 56 */ 57 /* { */ 58 59 /* } */ 60 61 /************* 62 * FUNCTIONS * 63 */ 64 /* { */ 65 66 void 67 ref_design_print_hw_status( 68 void 69 ); 70 71 /* } */ 72 73 #ifdef __cplusplus 74 } 75 #endif 76 77 /* } __REF_DESIGN_STARTER_H_INCLUDED__*/ 78 #endif