summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/sound/gus_wave.c
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1995-01-04 20:07:27 +0000
committerpst <pst@FreeBSD.org>1995-01-04 20:07:27 +0000
commit1b1f429a90ce5fbf108b85030fe54731b6874ef8 (patch)
treec06bb23f46dab550cc2ef74a8026090b64ecc19c /sys/i386/isa/sound/gus_wave.c
parent29bf25e4eb5c01e7219e2ab4b29938f47c658fa9 (diff)
downloadFreeBSD-src-1b1f429a90ce5fbf108b85030fe54731b6874ef8.zip
FreeBSD-src-1b1f429a90ce5fbf108b85030fe54731b6874ef8.tar.gz
Fix the GUS driver so that it will initialize properly from power-on...
no more DOS boots to start it up. Simply did a localized nuke of the OUTB macro in this file. This is a kludge, since it seems it may actually be necessary in other GUS files (tbd). Thanks to: Amancio Hasty & Ken Hornstein
Diffstat (limited to 'sys/i386/isa/sound/gus_wave.c')
-rw-r--r--sys/i386/isa/sound/gus_wave.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/i386/isa/sound/gus_wave.c b/sys/i386/isa/sound/gus_wave.c
index dddb527..f24365b 100644
--- a/sys/i386/isa/sound/gus_wave.c
+++ b/sys/i386/isa/sound/gus_wave.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: gus_wave.c,v 1.9 1994/08/02 07:40:02 davidg Exp $
+ * $Id: gus_wave.c,v 1.10 1994/10/01 02:16:42 swallace Exp $
*/
#include "sound_config.h"
@@ -36,6 +36,9 @@
#endif
#include "gus_hw.h"
+#undef OUTB
+#define OUTB(val, port) outb(port, val)
+
#if defined(CONFIGURE_SOUNDCARD) && !defined(EXCLUDE_GUS)
#define MAX_SAMPLE 128
OpenPOWER on IntegriCloud