Fixed the ifdef for `uart' driver being present. The sound-driver-specific

ifdef used in uart6850.c is bogus.

Reported by:	Paul Allenby <pallenby@mikom.csir.co.za>
This commit is contained in:
Bruce Evans 1998-10-22 11:41:22 +00:00
parent b494420086
commit fdf69a1788
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40573

View file

@ -34,6 +34,8 @@
#endif /* DEVFS */
#if NSND > 0 /* from "snd.h" */
#include "uart.h"
#include <vm/vm.h>
#include <vm/pmap.h>
#include <sys/mman.h>
@ -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