Module Name:    src
Committed By:   dyoung
Date:           Tue Apr  7 17:59:18 UTC 2009

Modified Files:
        src/sys/dev/acpi: attimer_acpi.c

Log Message:
During shutdown, detach attimer at acpi.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/acpi/attimer_acpi.c

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

Modified files:

Index: src/sys/dev/acpi/attimer_acpi.c
diff -u src/sys/dev/acpi/attimer_acpi.c:1.12 src/sys/dev/acpi/attimer_acpi.c:1.13
--- src/sys/dev/acpi/attimer_acpi.c:1.12	Tue Feb 17 12:46:01 2009
+++ src/sys/dev/acpi/attimer_acpi.c	Tue Apr  7 17:59:18 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: attimer_acpi.c,v 1.12 2009/02/17 12:46:01 jmcneill Exp $ */
+/* $NetBSD: attimer_acpi.c,v 1.13 2009/04/07 17:59:18 dyoung Exp $ */
 
 /*
  * Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: attimer_acpi.c,v 1.12 2009/02/17 12:46:01 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: attimer_acpi.c,v 1.13 2009/04/07 17:59:18 dyoung Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -79,8 +79,9 @@
 static int	attimer_acpi_match(device_t, cfdata_t, void *);
 static void	attimer_acpi_attach(device_t, device_t, void *);
 
-CFATTACH_DECL_NEW(attimer_acpi, sizeof(struct attimer_softc),
-    attimer_acpi_match, attimer_acpi_attach, attimer_detach, NULL);
+CFATTACH_DECL3_NEW(attimer_acpi, sizeof(struct attimer_softc),
+    attimer_acpi_match, attimer_acpi_attach, attimer_detach, NULL, NULL, NULL,
+    DVF_DETACH_SHUTDOWN);
 
 /*
  * Supported device IDs

Reply via email to