Module Name: src
Committed By: dyoung
Date: Tue Apr 7 17:51:46 UTC 2009
Modified Files:
src/sys/arch/x86/isa: clock.c
Log Message:
Detach sysbeep0 at shutdown.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/x86/isa/clock.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/arch/x86/isa/clock.c
diff -u src/sys/arch/x86/isa/clock.c:1.31 src/sys/arch/x86/isa/clock.c:1.32
--- src/sys/arch/x86/isa/clock.c:1.31 Tue Dec 16 22:35:28 2008
+++ src/sys/arch/x86/isa/clock.c Tue Apr 7 17:51:46 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: clock.c,v 1.31 2008/12/16 22:35:28 christos Exp $ */
+/* $NetBSD: clock.c,v 1.32 2009/04/07 17:51:46 dyoung Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -121,7 +121,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.31 2008/12/16 22:35:28 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.32 2009/04/07 17:51:46 dyoung Exp $");
/* #define CLOCKDEBUG */
/* #define CLOCK_PARANOIA */
@@ -168,8 +168,9 @@
void sysbeepattach(device_t, device_t, void *);
int sysbeepdetach(device_t, int);
-CFATTACH_DECL_NEW(sysbeep, 0,
- sysbeepmatch, sysbeepattach, sysbeepdetach, NULL);
+CFATTACH_DECL3_NEW(sysbeep, 0,
+ sysbeepmatch, sysbeepattach, sysbeepdetach, NULL, NULL, NULL,
+ DVF_DETACH_SHUTDOWN);
static int ppi_attached;
static pcppi_tag_t ppicookie;