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/hardware/hwpci.c
          +++ new/usr/src/common/acpica/components/hardware/hwpci.c
   1    1  /*******************************************************************************
   2    2   *
   3    3   * Module Name: hwpci - Obtain PCI bus, device, and function numbers
   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 ↓ 266 lines elided ↑ open up ↑
 285  285       * function, and bus numbers that are discovered, and assign them
 286  286       * to the PCI ID for the target device.
 287  287       */
 288  288      Info = ListHead;
 289  289      while (Info)
 290  290      {
 291  291          Status = AcpiHwGetPciDeviceInfo (PciId, Info->Device,
 292  292              &BusNumber, &IsBridge);
 293  293          if (ACPI_FAILURE (Status))
 294  294          {
 295      -            return_ACPI_STATUS (Status);
      295 +            return (Status);
 296  296          }
 297  297  
 298  298          Info = Info->Next;
 299  299      }
 300  300  
 301  301      ACPI_DEBUG_PRINT ((ACPI_DB_OPREGION,
 302  302          "Output PciId: Seg %4.4X Bus %4.4X Dev %4.4X Func %4.4X "
 303  303          "Status %X BusNumber %X IsBridge %X\n",
 304  304          PciId->Segment, PciId->Bus, PciId->Device, PciId->Function,
 305  305          Status, BusNumber, IsBridge));
 306  306  
 307      -    return_ACPI_STATUS (AE_OK);
      307 +    return (AE_OK);
 308  308  }
 309  309  
 310  310  
 311  311  /*******************************************************************************
 312  312   *
 313  313   * FUNCTION:    AcpiHwDeletePciList
 314  314   *
 315  315   * PARAMETERS:  ListHead            - Device list created by
 316  316   *                                    AcpiHwBuildPciList
 317  317   *
↓ open down ↓ 142 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX