Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/jmcneill-audiomp3]: src/sys/dev/ebus initialize locks
details: https://anonhg.NetBSD.org/src/rev/0af871e8e66b
branches: jmcneill-audiomp3
changeset: 771404:0af871e8e66b
user: macallan <macallan%NetBSD.org@localhost>
date: Wed Nov 23 16:53:57 2011 +0000
description:
initialize locks
now this works on my U60
diffstat:
sys/dev/ebus/cs4231_ebus.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r d2c937e58e0b -r 0af871e8e66b sys/dev/ebus/cs4231_ebus.c
--- a/sys/dev/ebus/cs4231_ebus.c Wed Nov 23 15:47:38 2011 +0000
+++ b/sys/dev/ebus/cs4231_ebus.c Wed Nov 23 16:53:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cs4231_ebus.c,v 1.34.4.3 2011/11/22 22:47:05 jmcneill Exp $ */
+/* $NetBSD: cs4231_ebus.c,v 1.34.4.4 2011/11/23 16:53:57 macallan Exp $ */
/*
* Copyright (c) 2002 Valeriy E. Ushakov
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cs4231_ebus.c,v 1.34.4.3 2011/11/22 22:47:05 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cs4231_ebus.c,v 1.34.4.4 2011/11/23 16:53:57 macallan Exp $");
#ifdef _KERNEL_OPT
#include "opt_sparc_arch.h"
@@ -248,6 +248,8 @@
return;
}
+ ad1848_init_locks(&sc->sc_ad1848, IPL_SCHED);
+
/* establish interrupt channels */
for (i = 0; i < ea->ea_nintr; ++i)
bus_intr_establish(ea->ea_bustag,
Home |
Main Index |
Thread Index |
Old Index