Mercurial > illumos > illumos-gate
changeset 3714:dce229b9418d
6526213 incomplete fix causes panic upon detaching QLC connected to PCIe rootport
author | jchu |
---|---|
date | Mon, 26 Feb 2007 09:37:10 -0800 |
parents | 00e75dc8b749 |
children | ffe268e01dfa |
files | usr/src/uts/sun4/io/px/px.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/sun4/io/px/px.c Sun Feb 25 23:16:16 2007 -0800 +++ b/usr/src/uts/sun4/io/px/px.c Mon Feb 26 09:37:10 2007 -0800 @@ -1266,6 +1266,9 @@ break; case DDI_CTLOPS_DETACH: + if (!pcie_is_child(dip, rdip)) + return (DDI_SUCCESS); + ds = (struct detachspec *)arg; switch (ds->when) { case DDI_POST: