From fdf69a1788b052aac535353cd1f119ef348c8ae1 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 22 Oct 1998 11:41:22 +0000 Subject: [PATCH] Fixed the ifdef for `uart' driver being present. The sound-driver-specific ifdef used in uart6850.c is bogus. Reported by: Paul Allenby --- sys/i386/isa/sound/soundcard.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/i386/isa/sound/soundcard.c b/sys/i386/isa/sound/soundcard.c index 475c16dba1e..4272b154f0f 100644 --- a/sys/i386/isa/sound/soundcard.c +++ b/sys/i386/isa/sound/soundcard.c @@ -34,6 +34,8 @@ #endif /* DEVFS */ #if NSND > 0 /* from "snd.h" */ +#include "uart.h" + #include #include #include @@ -428,7 +430,7 @@ sndattach(struct isa_device * dev) if (strcmp(dname, "sscape") == 0 || strcmp(dname, "trix") == 0) dev->id_ointr = sscapeintr; #endif -#if NSND > 0 +#if NUART > 0 if (strcmp(dname, "uart0") == 0) dev->id_ointr = m6850intr; #endif