diff options
author | peter <peter@FreeBSD.org> | 1999-05-02 20:40:28 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-05-02 20:40:28 +0000 |
commit | 69308caaae648b97c60872fd2d5e70a9b00144b4 (patch) | |
tree | 841d2d06fda0e0ed8cf01d222cc2507a5d3f6c2a /sys/i386/isa/sound | |
parent | 88ade5bec861a56d13a88a0dfb5363c29641fbbc (diff) | |
download | FreeBSD-src-69308caaae648b97c60872fd2d5e70a9b00144b4.zip FreeBSD-src-69308caaae648b97c60872fd2d5e70a9b00144b4.tar.gz |
Attempt to make the sound driver recompile, at least for LINT which has
the sscape/trix driver active, which (for some reason) disables the
mpu401 driver, causing an undefined reference to mpuintr. This was broken
with rev 1.79 (part of the PC98 nss driver commit).
Diffstat (limited to 'sys/i386/isa/sound')
-rw-r--r-- | sys/i386/isa/sound/soundcard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/sound/soundcard.c b/sys/i386/isa/sound/soundcard.c index 6c306c9..57320ba 100644 --- a/sys/i386/isa/sound/soundcard.c +++ b/sys/i386/isa/sound/soundcard.c @@ -437,7 +437,7 @@ sndattach(struct isa_device * dev) if (strcmp(dname, "uart0") == 0) dev->id_ointr = m6850intr; #endif -#if NMPU > 0 +#if NMPU > 0 && defined(CONFIG_MIDI) if (strcmp(dname, "mpu") == 0) dev->id_ointr = mpuintr; #endif |