dev_misc.h (915B)
1 /*! \file dev_misc.h 2 * 3 * Device misc configuation header file. 4 */ 5 /* 6 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 7 * 8 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 9 */ 10 11 #ifndef BCMI_LTSW_DEV_MISC_H 12 #define BCMI_LTSW_DEV_MISC_H 13 14 /*! 15 * \brief Clean up the device misc configurations. 16 * 17 * This function is used to clean up the devcie misc configuations. 18 * 19 * \param [in] unit Unit Number. 20 * 21 * \retval SHR_E_NONE No errors. 22 * \retval !SHR_E_NONE Failure. 23 */ 24 extern int 25 bcmi_ltsw_dev_misc_cleanup(int unit); 26 27 28 /*! 29 * \brief Initialize the device misc behaviors. 30 * 31 * \param [in] unit Unit number. 32 * 33 * \retval SHR_E_NONE No errors. 34 * \retval !SHR_E_NONE Failure. 35 */ 36 extern int 37 bcmi_ltsw_dev_misc_init(int unit); 38 39 #endif /* BCMI_LTSW_DEV_MISC_H */