From owner-freebsd-bugs Tue Dec 1 15:49:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA05682 for freebsd-bugs-outgoing; Tue, 1 Dec 1998 15:49:23 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA05669 for ; Tue, 1 Dec 1998 15:49:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA08351; Tue, 1 Dec 1998 15:50:01 -0800 (PST) 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 ; 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 X-Send-Pr-Version: 3.2 Subject: kern/8925: options kern file needs AWE_DEFAULT_MEM_SIZE added for AWE sound drvr Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 # include # include + # 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