Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Guys, let's get real. We don't really want an #if !...



details:   https://anonhg.NetBSD.org/src/rev/d4aa4f22b0ff
branches:  trunk
changeset: 473493:d4aa4f22b0ff
user:      eeh <eeh%NetBSD.org@localhost>
date:      Sat Jun 05 16:51:39 1999 +0000

description:
Guys, let's get real.  We don't really want an #if !defined() for every possible
machine that could concievably have defined an IPL_AUDIO, do we?

diffstat:

 sys/dev/audio_if.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7a84cf6e18e4 -r d4aa4f22b0ff sys/dev/audio_if.h
--- a/sys/dev/audio_if.h        Sat Jun 05 14:34:22 1999 +0000
+++ b/sys/dev/audio_if.h        Sat Jun 05 16:51:39 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio_if.h,v 1.32 1999/06/05 14:26:07 mrg Exp $        */
+/*     $NetBSD: audio_if.h,v 1.33 1999/06/05 16:51:39 eeh Exp $        */
 
 /*
  * Copyright (c) 1994 Havard Eidnes.
@@ -152,7 +152,7 @@
 #define ISDEVAUDIOCTL(x)       (AUDIODEV((x)) == AUDIOCTL_DEVICE)
 #define ISDEVMIXER(x)          (AUDIODEV((x)) == MIXER_DEVICE)
 
-#if !defined(__i386__) && !defined(__arm32__) && !defined(__sparc__)
+#if !defined(__i386__) && !defined(__arm32__) && !defined(IPL_AUDIO)
 #define splaudio splbio                /* XXX */
 #define IPL_AUDIO IPL_BIO      /* XXX */
 #endif



Home | Main Index | Thread Index | Old Index