Date: Tue, 1 Dec 1998 18:43:12 -0500 (EST) From: aa8vb@pagesz.net To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: aa8vb@pagesz.net Subject: kern/8925: options kern file needs AWE_DEFAULT_MEM_SIZE added for AWE sound drvr Message-ID: <199812012343.SAA03483@stealth.dummynet.>
next in thread | raw e-mail | index | archive | help
>Number: 8925
>Category: kern
>Synopsis: options kern file needs AWE_DEFAULT_MEM_SIZE added for AWE sound drvr
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 1 15:50:00 PST 1998
>Last-Modified:
>Originator: Randall Hopper
>Organization:
self
>Release: FreeBSD 3.0-RELEASE i386
>Environment:
Stock 3.0-RELEASE.
>Description:
Users need to be able to specify the AWE_DEFAULT_MEM_SIZE option
in their kernel config files since the AWE sound driver isn't
always able to detect the amount of installed memory on
SB32, AWE-32, and AWE-64 soundcards.
>How-To-Repeat:
Here is an example specification which used to work:
options AWE_DEFAULT_MEM_SIZE=8192
"config" kicks this out now as an unknown option.
>Fix:
I don't know for sure what opt_.. header structure is intended, but
the following would do the trick:
1) Add this line to sys/i386/conf/options.i386:
# voxware options
GUS_DMA2 opt_sound.h
GUS_DMA opt_sound.h
GUS_IRQ opt_sound.h
+ AWE_DEFAULT_MEM_SIZE opt_sound.h
2) Add this line to sys/gnu/i386/isa/conf/awe_wave.c:
#ifdef __FreeBSD__
# include <gnu/i386/isa/sound/awe_hw.h>
# include <gnu/i386/isa/sound/awe_version.h>
# include <gnu/i386/isa/sound/awe_voice.h>
+ # include "opt_sound.h"
#else
# include "awe_hw.h"
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812012343.SAA03483>
