link.h (925B)
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: link.h 8 * Purpose: LINK internal definitions to the BCM library. 9 */ 10 11 #ifndef _BCM_INT_DNXF_LINK_H_ 12 #define _BCM_INT_DNXF_LINK_H_ 13 14 #ifndef BCM_DNXF_SUPPORT 15 #error "This file is for use by DNXF (Ramon) family only!" 16 #endif 17 18 int dnxf_linkscan_init(int unit); 19 int dnxf_linkscan_deinit(int unit); 20 int bcm_dnxf_linkscan_enable_set(int unit, int us); 21 int bcm_dnxf_linkscan_enable_get(int unit, int *us); 22 int bcm_dnxf_linkscan_mode_set(int unit, bcm_port_t port, int mode); 23 int bcm_dnxf_linkscan_mode_get(int unit, bcm_port_t port, int *mode); 24 int bcm_dnxf_linkscan_mode_set_pbm(int unit, bcm_pbmp_t pbm, int mode); 25 int bcm_dnxf_linkscan_detach(int unit); 26 27 #endif /*_BCM_INT_DNXF_LINK_H_*/