Print this page
update to acpica-unix2-20140114
acpica-unix2-20130823
PANKOVs restructure

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/io/acpica/namespace/nsdumpdv.c
          +++ new/usr/src/common/acpica/components/namespace/nsdumpdv.c
   1    1  /******************************************************************************
   2    2   *
   3    3   * Module Name: nsdump - table dumping routines for debug
   4    4   *
   5    5   *****************************************************************************/
   6    6  
   7    7  /*
   8      - * Copyright (C) 2000 - 2011, Intel Corp.
        8 + * Copyright (C) 2000 - 2014, Intel Corp.
   9    9   * All rights reserved.
  10   10   *
  11   11   * Redistribution and use in source and binary forms, with or without
  12   12   * modification, are permitted provided that the following conditions
  13   13   * are met:
  14   14   * 1. Redistributions of source code must retain the above copyright
  15   15   *    notice, this list of conditions, and the following disclaimer,
  16   16   *    without modification.
  17   17   * 2. Redistributions in binary form must reproduce at minimum a disclaimer
  18   18   *    substantially similar to the "NO WARRANTY" disclaimer below
↓ open down ↓ 115 lines elided ↑ open up ↑
 134  134      ACPI_FUNCTION_NAME (NsDumpRootDevices);
 135  135  
 136  136  
 137  137      /* Only dump the table if tracing is enabled */
 138  138  
 139  139      if (!(ACPI_LV_TABLES & AcpiDbgLevel))
 140  140      {
 141  141          return;
 142  142      }
 143  143  
 144      -    Status = AcpiGetHandle (NULL, ACPI_NS_SYSTEM_BUS, &SysBusHandle);
      144 +    Status = AcpiGetHandle (NULL, METHOD_NAME__SB_, &SysBusHandle);
 145  145      if (ACPI_FAILURE (Status))
 146  146      {
 147  147          return;
 148  148      }
 149  149  
 150  150      ACPI_DEBUG_PRINT ((ACPI_DB_TABLES,
 151  151          "Display of all devices in the namespace:\n"));
 152  152  
 153  153      Status = AcpiNsWalkNamespace (ACPI_TYPE_DEVICE, SysBusHandle,
 154  154                  ACPI_UINT32_MAX, ACPI_NS_WALK_NO_UNLOCK,
 155  155                  AcpiNsDumpOneDevice, NULL, NULL, NULL);
 156  156  }
 157  157  
 158  158  #endif
 159  159  #endif
 160      -
 161      -
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX