From owner-cvs-sys Mon Jan 15 22:07:14 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA14769 for cvs-sys-outgoing; Mon, 15 Jan 1996 22:07:14 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA14762 Mon, 15 Jan 1996 22:07:12 -0800 (PST) Date: Mon, 15 Jan 1996 22:07:12 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199601160607.WAA14762@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa/sound os.h Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk ache 96/01/15 22:07:11 Modified: sys/i386/isa/sound os.h Log: sleep/wakeup macros was designed to do it on random address in the stack. This random address can be matched (with some probability) with another sleep addresses from other drivers, which can cause strange sleep/wakeup sequence. Rewrite this ugly code to do the right thing. Revision Changes Path 1.23 +3 -4 src/sys/i386/isa/sound/os.h