Diff for /src/sys/dev/acpica/Attic/acpi_powerres.c between versions 1.2 and 1.3

version 1.2, 2004/05/05 22:19:23 version 1.3, 2004/06/03 13:12:24
Line 115  static TAILQ_HEAD(acpi_powerresource_lis Line 115  static TAILQ_HEAD(acpi_powerresource_lis
 static TAILQ_HEAD(acpi_powerconsumer_list, acpi_powerconsumer)  acpi_powerconsumers;  static TAILQ_HEAD(acpi_powerconsumer_list, acpi_powerconsumer)  acpi_powerconsumers;
   
 static ACPI_STATUS              acpi_pwr_register_consumer(ACPI_HANDLE consumer);  static ACPI_STATUS              acpi_pwr_register_consumer(ACPI_HANDLE consumer);
   #ifdef unused
 static ACPI_STATUS              acpi_pwr_deregister_consumer(ACPI_HANDLE consumer);  static ACPI_STATUS              acpi_pwr_deregister_consumer(ACPI_HANDLE consumer);
   #endif
 static ACPI_STATUS              acpi_pwr_register_resource(ACPI_HANDLE res);  static ACPI_STATUS              acpi_pwr_register_resource(ACPI_HANDLE res);
   #if unused
 static ACPI_STATUS              acpi_pwr_deregister_resource(ACPI_HANDLE res);  static ACPI_STATUS              acpi_pwr_deregister_resource(ACPI_HANDLE res);
   #endif
 static void                     acpi_pwr_reference_resource(ACPI_OBJECT *obj, void *arg);  static void                     acpi_pwr_reference_resource(ACPI_OBJECT *obj, void *arg);
 static ACPI_STATUS              acpi_pwr_switch_power(void);  static ACPI_STATUS              acpi_pwr_switch_power(void);
 static struct acpi_powerresource *acpi_pwr_find_resource(ACPI_HANDLE res);  static struct acpi_powerresource *acpi_pwr_find_resource(ACPI_HANDLE res);
Line 200  acpi_pwr_register_resource(ACPI_HANDLE r Line 204  acpi_pwr_register_resource(ACPI_HANDLE r
     return_ACPI_STATUS(status);      return_ACPI_STATUS(status);
 }  }
   
   #ifdef unused
 /*  /*
  * Deregister a power resource.   * Deregister a power resource.
  */   */
Line 228  acpi_pwr_deregister_resource(ACPI_HANDLE Line 233  acpi_pwr_deregister_resource(ACPI_HANDLE
   
     return_ACPI_STATUS(AE_OK);      return_ACPI_STATUS(AE_OK);
 }  }
   #endif /* unused */
   
 /*  /*
  * Register a power consumer.     * Register a power consumer.  
Line 258  acpi_pwr_register_consumer(ACPI_HANDLE c Line 264  acpi_pwr_register_consumer(ACPI_HANDLE c
     return_ACPI_STATUS(AE_OK);      return_ACPI_STATUS(AE_OK);
 }  }
   
   #ifdef unused
 /*  /*
  * Deregister a power consumer.   * Deregister a power consumer.
  *   *
Line 286  acpi_pwr_deregister_consumer(ACPI_HANDLE Line 293  acpi_pwr_deregister_consumer(ACPI_HANDLE
   
     return_ACPI_STATUS(AE_OK);      return_ACPI_STATUS(AE_OK);
 }  }
   #endif /* unused */
   
 /*  /*
  * Set a power consumer to a particular power state.   * Set a power consumer to a particular power state.

Removed from v.1.2  
changed lines
  Added in v.1.3