acpi_button.c (d6c180505a1ad3c92704a745e10ca6ef3a422488) acpi_button.c (5a77b11bd396353d1820bff1ee51e58c2a6ee6a6)
1/*-
2 * Copyright (c) 2000 Mitsaru IWASAKI <iwasaki@jp.freebsd.org>
3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org>
4 * Copyright (c) 2000 BSDi
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 154 unchanged lines hidden (view full) ---

163 AcpiFormatException(status));
164 return_VALUE (ENXIO);
165 }
166
167 /* Enable the GPE for wake/runtime. */
168 acpi_wake_set_enable(dev, 1);
169 if (acpi_parse_prw(sc->button_handle, &prw) == 0)
170 AcpiEnableGpe(prw.gpe_handle, prw.gpe_bit);
1/*-
2 * Copyright (c) 2000 Mitsaru IWASAKI <iwasaki@jp.freebsd.org>
3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org>
4 * Copyright (c) 2000 BSDi
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 154 unchanged lines hidden (view full) ---

163 AcpiFormatException(status));
164 return_VALUE (ENXIO);
165 }
166
167 /* Enable the GPE for wake/runtime. */
168 acpi_wake_set_enable(dev, 1);
169 if (acpi_parse_prw(sc->button_handle, &prw) == 0)
170 AcpiEnableGpe(prw.gpe_handle, prw.gpe_bit);
171
171
172 return_VALUE (0);
173}
174
175static int
176acpi_button_suspend(device_t dev)
177{
178 return (0);
179}

--- 100 unchanged lines hidden ---
172 return_VALUE (0);
173}
174
175static int
176acpi_button_suspend(device_t dev)
177{
178 return (0);
179}

--- 100 unchanged lines hidden ---