Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2009 16:55:16 +0000 (UTC)
From:      Takanori Watanabe <takawata@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r200359 - head/sys/dev/ata
Message-ID:  <200912101655.nBAGtGTk069296@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912101655.nBAGtGTk069296>