Subject: CVS commit: [jmcneill-pm] src/sys
To: None <source-changes@NetBSD.org>
From: Jared D. McNeill <jmcneill@netbsd.org>
List: source-changes
Date: 10/19/2007 00:49:32
Module Name:	src
Committed By:	jmcneill
Date:		Fri Oct 19 00:49:32 UTC 2007

Modified Files:
	src/sys/kern [jmcneill-pm]: init_main.c kern_pnp.c
	src/sys/sys [jmcneill-pm]: pnp.h

Log Message:
Stop using mutex_owned in favour of a per-device mutex.

XXX I can't include mutex.h from pnp.h due to circular dependencies on x86,
so pnp_lock is 'void *' for now. Yes, I'm replacing a hack with another
hack, but I feel this one is not nearly as bad...


To generate a diff of this commit:
cvs rdiff -r1.311.4.4 -r1.311.4.5 src/sys/kern/init_main.c
cvs rdiff -r1.1.2.9 -r1.1.2.10 src/sys/kern/kern_pnp.c
cvs rdiff -r1.1.2.4 -r1.1.2.5 src/sys/sys/pnp.h

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