From rhh@pagesz.net  Tue Dec  1 15:42:37 1998
Received: from nina.pagesz.net (nina.pagesz.net [208.194.157.3])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA04767
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 1 Dec 1998 15:42:35 -0800 (PST)
          (envelope-from rhh@pagesz.net)
Received: from stealth.dummynet. (juana-35.pagesz.net [208.213.126.35])
	by nina.pagesz.net (8.8.7/8.8.7) with ESMTP id SAA05841;
	Tue, 1 Dec 1998 18:42:42 -0500
Received: (from rhh@localhost)
	by stealth.dummynet. (8.9.1/8.8.8) id SAA03483;
	Tue, 1 Dec 1998 18:43:12 -0500 (EST)
	(envelope-from rhh)
Message-Id: <199812012343.SAA03483@stealth.dummynet.>
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: options kern file needs AWE_DEFAULT_MEM_SIZE added for AWE sound drvr
X-Send-Pr-Version: 3.2

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec  1 15:50:00 PST 1998
>Closed-Date:    Wed Oct 10 14:12:17 PDT 2001
>Last-Modified:  Wed Oct 10 14:12:57 PDT 2001
>Originator:     Randall Hopper
>Release:        FreeBSD 3.0-RELEASE i386
>Organization:
self
>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"

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Wed Oct 10 14:12:17 PDT 2001 
State-Changed-Why:  
The sound driver has been rewritten since this PR. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=8925 
>Unformatted:
