Print this page
NEX-15925 pseudonex, rootnex, and friends don't need to log useless device announcements
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
        
*** 406,420 ****
          case DDI_CTLOPS_UNINITCHILD:
                  impl_ddi_sunbus_removechild((dev_info_t *)arg);
                  break;
  
          case DDI_CTLOPS_REPORTDEV: {
!                 if (rdip == (dev_info_t *)0)
                          return (DDI_FAILURE);
-                 cmn_err(CE_CONT, "?acpinex: %s@%s, %s%d\n",
-                     ddi_node_name(rdip), ddi_get_name_addr(rdip),
-                     ddi_driver_name(rdip), ddi_get_instance(rdip));
                  break;
          }
  
          default:
                  rval = ddi_ctlops(dip, rdip, op, arg, result);
--- 406,417 ----
          case DDI_CTLOPS_UNINITCHILD:
                  impl_ddi_sunbus_removechild((dev_info_t *)arg);
                  break;
  
          case DDI_CTLOPS_REPORTDEV: {
!                 if (rdip == NULL)
                          return (DDI_FAILURE);
                  break;
          }
  
          default:
                  rval = ddi_ctlops(dip, rdip, op, arg, result);