Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci audio cookie is a struct auixp_codec, not auixp_...
details: https://anonhg.NetBSD.org/src/rev/1a54df982d80
branches: trunk
changeset: 771738:1a54df982d80
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Fri Dec 02 11:58:44 2011 +0000
description:
audio cookie is a struct auixp_codec, not auixp_softc
diffstat:
sys/dev/pci/auixp.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r e48a85ed3918 -r 1a54df982d80 sys/dev/pci/auixp.c
--- a/sys/dev/pci/auixp.c Fri Dec 02 11:09:52 2011 +0000
+++ b/sys/dev/pci/auixp.c Fri Dec 02 11:58:44 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: auixp.c,v 1.36 2011/11/24 03:35:58 mrg Exp $ */
+/* $NetBSD: auixp.c,v 1.37 2011/12/02 11:58:44 jmcneill Exp $ */
/*
* Copyright (c) 2004, 2005 Reinoud Zandijk <reinoud%netbsd.org@localhost>
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: auixp.c,v 1.36 2011/11/24 03:35:58 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: auixp.c,v 1.37 2011/12/02 11:58:44 jmcneill Exp $");
#include <sys/types.h>
#include <sys/errno.h>
@@ -1813,9 +1813,9 @@
static void
auixp_get_locks(void *addr, kmutex_t **intr, kmutex_t **proc)
{
- struct auixp_softc *sc;
+ struct auixp_codec *co = addr;
+ struct auixp_softc *sc = co->sc;
- sc = addr;
*intr = &sc->sc_intr_lock;
*proc = &sc->sc_lock;
}
Home |
Main Index |
Thread Index |
Old Index