From owner-freebsd-stable@FreeBSD.ORG Wed Mar 2 17:20:45 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5555116A4CE for ; Wed, 2 Mar 2005 17:20:45 +0000 (GMT) Received: from mailtest.sd73.bc.ca (smtp.sd73.bc.ca [142.24.13.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB7BB43D1D for ; Wed, 2 Mar 2005 17:20:44 +0000 (GMT) (envelope-from fcash-ml@sd73.bc.ca) Received: from localhost (localhost [127.0.0.1]) by mailtest.sd73.bc.ca (Postfix) with ESMTP id 7E58CF2901 for ; Wed, 2 Mar 2005 09:20:44 -0800 (PST) Received: from mailtest.sd73.bc.ca ([127.0.0.1]) by localhost (mailtest.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 54377-01-44 for ; Wed, 2 Mar 2005 09:20:43 -0800 (PST) Received: from s9.sbo (s9.sbo [192.168.0.9]) by mailtest.sd73.bc.ca (Postfix) with ESMTP id B8339F28A6 for ; Wed, 2 Mar 2005 09:20:43 -0800 (PST) From: Freddie Cash Organization: School District 73 - Kamloops, BC To: freebsd-stable@freebsd.org Date: Wed, 2 Mar 2005 09:20:42 -0800 User-Agent: KMail/1.7.2 References: <20050302104641.44708.qmail@web54004.mail.yahoo.com> In-Reply-To: <20050302104641.44708.qmail@web54004.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503020920.43155.fcash-ml@sd73.bc.ca> X-Virus-Scanned: by amavisd-new using ClamAV at sd73.bc.ca Subject: Re: kernel config: sound device with or without quotes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 17:20:45 -0000 On March 2, 2005 02:46 am, Rob wrote: > In /usr/src/sys/conf/NOTES is the list of supported > sound devices. I get confused by the pressence and > absence of quotes here. Are these quotes only > decoration, or really needed. For example: > device "snd_ad1816" > device snd_cmi > If they are needed, it confuses me why one sound > device needs quotes, and another doesn't? You have to put quotes around any device names with numbers in them. If you don't, the kernel config will error out. > How does that affect the use of loading them in > /boot/loader.conf? How about following two: It doesn't affect loader.conf. You only put quotes around the value of the variable ("YES" or "NO") not around the variable names. > snd_ad1816_load="YES" > snd_cmi_load="YES" > Is that OK? Yes. However, if you add the devices to the kernel config file, you don't need to add them to loader.conf. loader.conf is used to load kernel modules. You need to decide whether to compile all devices into the kernel, or load some as kernel modules. Personally, I like to put devices that won't change (like USB, ATA, SMB, etc) into the kernel config file. And load devices that will change (like NICs, soundcards, etc) as modules via loader.conf. Saves time and effort when I decide to swap out NICs and test soundcards and similar. -- Freddie Cash, CCNT CCLP Helpdesk / Network Support Tech. School District 73 (250) 377-HELP [377-4357] fcash-ml@sd73.bc.ca