From owner-freebsd-current@FreeBSD.ORG Thu Jan 8 17:34:48 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 610171065705 for ; Thu, 8 Jan 2009 17:34:48 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from web63908.mail.re1.yahoo.com (web63908.mail.re1.yahoo.com [69.147.97.123]) by mx1.freebsd.org (Postfix) with SMTP id E2B288FC16 for ; Thu, 8 Jan 2009 17:34:47 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: (qmail 5553 invoked by uid 60001); 8 Jan 2009 17:08:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=4CjiwzD4L08M9tRw+CqbAcp4B1H9IR8+Zxs2VGtPeLAMyAbBJkBXZ9kjydDatqpxfqJS/gwFpD6AcMcdEkxbtIxejKAFGhrlqE3kJQ2Uf0307slS4pJt/528wpkHhVs2QlYppGbxeCA/j6fiboF023VJKb7nfxuL0+Z//a2ikd4=; X-YMail-OSG: PNuAlVoVM1nQ9gjS0Paqy1MNAfELxQV9CcyTJYevVN2yzrgYfXJmoh_I15.WuKOkHPhs0_FxSxGis7y.LjkOq9Au7wmjTfobyUHxMm0__VCS55Mxlph8c4ADSfVux4JOnUwZ6MjVJ5QYBuWlRc8W2DtFv1I- Received: from [98.242.222.229] by web63908.mail.re1.yahoo.com via HTTP; Thu, 08 Jan 2009 09:08:07 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Thu, 8 Jan 2009 09:08:07 -0800 (PST) From: Barney Cordoba To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <321406.5257.qm@web63908.mail.re1.yahoo.com> Cc: Subject: Adding a new kernel module? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: barney_cordoba@yahoo.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2009 17:34:48 -0000 I'm testing a new kernel module that needs to be compiled in, and everything works fine except that make doesn't make the module for the new driver. The driver is under dev /sys/dev/foo How does the kernel make system decide what modules to build? How can I add a new kernel modules to the build system to get it to build the new module automatically? Thanks, Barney