acpi_dock.c (161065) | acpi_dock.c (167814) |
---|---|
1/*- 2 * Copyright (c) 2005-2006 Mitsuru IWASAKI <iwasaki@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2005-2006 Mitsuru IWASAKI <iwasaki@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/acpica/acpi_dock.c 161065 2006-08-08 01:33:03Z njl $ | 26 * $FreeBSD: head/sys/dev/acpica/acpi_dock.c 167814 2007-03-22 18:16:43Z jkim $ |
27 */ 28 29#include "opt_acpi.h" 30#include <sys/param.h> 31#include <sys/bus.h> 32#include <sys/kernel.h> 33#include <sys/module.h> 34 --- 198 unchanged lines hidden (view full) --- 233 234 dev = acpi_get_device(handle); 235 if (dev == NULL) { 236 device_printf(dock_dev, "error: %s has no associated device\n", 237 acpi_name(handle)); 238 goto out; 239 } 240 | 27 */ 28 29#include "opt_acpi.h" 30#include <sys/param.h> 31#include <sys/bus.h> 32#include <sys/kernel.h> 33#include <sys/module.h> 34 --- 198 unchanged lines hidden (view full) --- 233 234 dev = acpi_get_device(handle); 235 if (dev == NULL) { 236 device_printf(dock_dev, "error: %s has no associated device\n", 237 acpi_name(handle)); 238 goto out; 239 } 240 |
241 AcpiOsQueueForExecution(OSD_PRIORITY_LO, acpi_dock_attach_later, dev); | 241 AcpiOsExecute(OSL_NOTIFY_HANDLER, acpi_dock_attach_later, dev); |
242 243out: 244 return (AE_OK); 245} 246 247static void 248acpi_dock_insert_children(device_t dev) 249{ --- 295 unchanged lines hidden --- | 242 243out: 244 return (AE_OK); 245} 246 247static void 248acpi_dock_insert_children(device_t dev) 249{ --- 295 unchanged lines hidden --- |