Mercurial > illumos > illumos-gate
changeset 3432:222a221acf16
6513804 fmtopo assertion hit when hostbridge and pcibus enumerators can't construct module property
author | cindi |
---|---|
date | Wed, 17 Jan 2007 13:28:22 -0800 |
parents | 9f2d277dcffa |
children | 2971a4d3cf72 |
files | usr/src/lib/fm/topo/modules/common/pcibus/did_props.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/lib/fm/topo/modules/common/pcibus/did_props.c Wed Jan 17 08:41:37 2007 -0800 +++ b/usr/src/lib/fm/topo/modules/common/pcibus/did_props.c Wed Jan 17 13:28:22 2007 -0800 @@ -20,7 +20,7 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -628,7 +628,7 @@ mp = did_mod(pd); if ((mod = topo_mod_modfmri(mp, FM_MOD_SCHEME_VERSION, dnm)) == NULL) - return (-1); /* mod errno set */ + return (0); /* driver maybe detached, return success */ if (topo_prop_set_fmri(tn, tpgrp, tpnm, TOPO_PROP_IMMUTABLE, mod, &err) < 0) {