[BACK]Return to acpi.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / acpi

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/acpi/acpi.c between version 1.255 and 1.256

version 1.255, 2012/09/23 00:31:06 version 1.256, 2013/10/16 17:30:42
Line 1296  acpi_enter_sleep_state(int state)
Line 1296  acpi_enter_sleep_state(int state)
 {  {
         struct acpi_softc *sc = acpi_softc;          struct acpi_softc *sc = acpi_softc;
         ACPI_STATUS rv;          ACPI_STATUS rv;
         int err;  
   
         if (acpi_softc == NULL)          if (acpi_softc == NULL)
                 return;                  return;
Line 1403  acpi_enter_sleep_state(int state)
Line 1402  acpi_enter_sleep_state(int state)
   
                 } else {                  } else {
   
                         err = acpi_md_sleep(state);                          (void)acpi_md_sleep(state);
   
                         if (state == ACPI_STATE_S4)                          if (state == ACPI_STATE_S4)
                                 AcpiEnable();                                  AcpiEnable();

Legend:
Removed from v.1.255  
changed lines
  Added in v.1.256

CVSweb <webmaster@jp.NetBSD.org>