From owner-freebsd-questions@FreeBSD.ORG Sun Feb 7 03:52:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD2BB106566C for ; Sun, 7 Feb 2010 03:52:54 +0000 (UTC) (envelope-from james@colannino.org) Received: from mda1.es.uci.edu (mda1.es.uci.edu [128.200.80.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8B6338FC08 for ; Sun, 7 Feb 2010 03:52:54 +0000 (UTC) Received: from smtp1.es.uci.edu (smtp1.es.uci.edu [128.200.80.34]) by mda1.es.uci.edu (8.13.1/8.13.1) with ESMTP id o173fYe8003763 for ; Sat, 6 Feb 2010 19:41:34 -0800 Received: from [192.168.1.6] (69-12-176-48.dsl.static.sonic.net [69.12.176.48]) (authenticated bits=0) by smtp1.es.uci.edu (8.13.1/8.13.1) with ESMTP id o173fUhS020634 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 6 Feb 2010 19:41:32 -0800 X-UCInetID: jcolanni Message-ID: <4B6E3623.2070109@colannino.org> Date: Sat, 06 Feb 2010 19:40:19 -0800 From: James Colannino User-Agent: Thunderbird 2.0.0.23 (X11/20100117) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Modules and Custom Kernels X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2010 03:52:54 -0000 Hey everyone. Please bear with me as I'm very new to FreeBSD. I've recently started building a custom kernel after having had to apply a patch to enable support for my wireless device (Atheros 9285) in 8.0-RELEASE, and had a quick question about the process in general. According to the documentation, a line with device will cause that driver to be compiled into the kernel. If one of those lines is commented out, does that mean that the driver will still be built, but that it will be installed as a module? I didn't see anything that told me that explicitly in the documentation, but that's the feeling I got from what I read. I just want to make sure that my assumption is correct, and if not, how to make sure that something gets built as a module rather than built directly into the kernel. In all, the process looks relatively painless as long as I'm careful not to make too many changes to the GENERIC config. Hopefully this isn't a dumb question :) I really like FreeBSD so far, and think I'm going to enjoy my new experience quite a bit. Thanks in advance! James