From owner-svn-src-all@FreeBSD.ORG Thu Dec 10 16:55:16 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C99091065672; Thu, 10 Dec 2009 16:55:16 +0000 (UTC) (envelope-from takawata@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B8B9D8FC12; Thu, 10 Dec 2009 16:55:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBAGtGE3069297; Thu, 10 Dec 2009 16:55:16 GMT (envelope-from takawata@svn.freebsd.org) Received: (from takawata@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBAGtGTk069296; Thu, 10 Dec 2009 16:55:16 GMT (envelope-from takawata@svn.freebsd.org) Message-Id: <200912101655.nBAGtGTk069296@svn.freebsd.org> From: Takanori Watanabe Date: Thu, 10 Dec 2009 16:55:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200359 - head/sys/dev/ata X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2009 16:55:16 -0000 Author: takawata Date: Thu Dec 10 16:55:16 2009 New Revision: 200359 URL: http://svn.freebsd.org/changeset/base/200359 Log: Add module dependency for cam if configured as ATA_CAM. Modified: head/sys/dev/ata/ata-all.c Modified: head/sys/dev/ata/ata-all.c ============================================================================== --- head/sys/dev/ata/ata-all.c Thu Dec 10 15:17:34 2009 (r200358) +++ head/sys/dev/ata/ata-all.c Thu Dec 10 16:55:16 2009 (r200359) @@ -1681,6 +1681,9 @@ ata_module_event_handler(module_t mod, i static moduledata_t ata_moduledata = { "ata", ata_module_event_handler, NULL }; DECLARE_MODULE(ata, ata_moduledata, SI_SUB_CONFIGURE, SI_ORDER_SECOND); MODULE_VERSION(ata, 1); +#ifdef ATA_CAM +MODULE_DEPEND(ata, cam, 1, 1, 1); +#endif static void ata_init(void)