openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

phymod_ids.h (571B)


      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-2019 Broadcom Inc. All rights reserved.
      6  */
      7 
      8 #ifndef _PHY_PHYMOD_IDS_H_
      9 #define _PHY_PHYMOD_IDS_H_
     10 
     11 #include <soc/types.h>
     12 
     13 extern int
     14 soc_phymod_core_id_get(int unit, int port, uint32 max_cores, uint32 max_phys,
     15                        uint32 *num_cores, uint32 *core_id, uint32 *phy_ids);
     16 
     17 extern int 
     18 soc_phymod_broadcast_id_offset(int unit, uint32 *broadcast_id_offset);
     19 
     20 #endif /* _PHY_PHYMOD_IDS_H_ */