Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pad splaudio is no more
details: https://anonhg.NetBSD.org/src/rev/f074fed52439
branches: trunk
changeset: 771513:f074fed52439
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Nov 24 01:11:04 2011 +0000
description:
splaudio is no more
diffstat:
sys/dev/pad/pad.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 0c6e0da96672 -r f074fed52439 sys/dev/pad/pad.c
--- a/sys/dev/pad/pad.c Thu Nov 24 00:56:46 2011 +0000
+++ b/sys/dev/pad/pad.c Thu Nov 24 01:11:04 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pad.c,v 1.17 2011/11/23 23:07:33 jmcneill Exp $ */
+/* $NetBSD: pad.c,v 1.18 2011/11/24 01:11:04 jmcneill Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.17 2011/11/23 23:07:33 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.18 2011/11/24 01:11:04 jmcneill Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -672,9 +672,7 @@
return error;
}
- s = splaudio();
error = config_cfdata_attach(pad_cfdata, 1);
- splx(s);
if (error) {
config_cfattach_detach(pad_cd.cd_name, &pad_ca);
config_cfdriver_detach(&pad_cd);
Home |
Main Index |
Thread Index |
Old Index