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

sysconf.h (641B)


      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 __SYSCONF_H__
      9 #define __SYSCONF_H__
     10 
     11 #include <sal/types.h>
     12 #include <soc/cmtypes.h>
     13 
     14 extern int
     15 sysconf_init(void);
     16 
     17 
     18 /* Configuration */
     19 extern int
     20 sysconf_probe(void);
     21 
     22 extern int
     23 sysconf_attach(int pci_device_n);
     24 
     25 extern int
     26 sysconf_detach(int pci_device_n);
     27 
     28 extern char*
     29 sysconf_get_property(const char* property);
     30 
     31 extern void
     32 sysconf_chip_override(int unit, uint16 *devID, uint8 *revID);
     33 #endif	/*! __SYSCONF_H__ */