Home
last modified time | relevance | path

Searched refs:modhdl (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/modules/common/hostbridge/
H A Dhostbridge.c86 _topo_init(topo_mod_t *modhdl, topo_version_t version) in _topo_init() argument
92 topo_mod_setdebug(modhdl); in _topo_init()
93 topo_mod_dprintf(modhdl, "initializing hostbridge enumerator\n"); in _topo_init()
96 return (topo_mod_seterrno(modhdl, EMOD_VER_NEW)); in _topo_init()
98 if (topo_mod_register(modhdl, &Hb_info, TOPO_VERSION) < 0) { in _topo_init()
99 topo_mod_dprintf(modhdl, "hostbridge registration failed: %s\n", in _topo_init()
100 topo_mod_errmsg(modhdl)); in _topo_init()
104 topo_mod_dprintf(modhdl, "Hostbridge enumr initd\n"); in _topo_init()
110 _topo_fini(topo_mod_t *modhdl) in _topo_fini() argument
112 topo_mod_unregister(modhdl); in _topo_fini()
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c88 _topo_init(topo_mod_t *modhdl, topo_version_t version) in _topo_init() argument
94 topo_mod_setdebug(modhdl); in _topo_init()
95 topo_mod_dprintf(modhdl, "initializing pcibus builtin\n"); in _topo_init()
98 return (topo_mod_seterrno(modhdl, EMOD_VER_NEW)); in _topo_init()
100 if (topo_mod_register(modhdl, &Pci_info, TOPO_VERSION) != 0) { in _topo_init()
101 topo_mod_dprintf(modhdl, "failed to register module"); in _topo_init()
104 topo_mod_dprintf(modhdl, "PCI Enumr initd\n"); in _topo_init()
110 _topo_fini(topo_mod_t *modhdl) in _topo_fini() argument
112 topo_mod_unregister(modhdl); in _topo_fini()