From ff65229f7ed6e96df61311f2dca16572f497f845 Mon Sep 17 00:00:00 2001 From: pgoyette Date: Fri, 3 Jan 2014 16:07:27 +0000 Subject: [PATCH] If you're going to build this driver as a module, make sure that it depends on opencrypto module. --- sys/dev/pci/ubsec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c index 45fe960cc8d1..b012957861eb 100644 --- a/sys/dev/pci/ubsec.c +++ b/sys/dev/pci/ubsec.c @@ -1,4 +1,4 @@ -/* $NetBSD: ubsec.c,v 1.35 2013/12/26 00:51:23 bad Exp $ */ +/* $NetBSD: ubsec.c,v 1.36 2014/01/03 16:07:27 pgoyette Exp $ */ /* $FreeBSD: src/sys/dev/ubsec/ubsec.c,v 1.6.2.6 2003/01/23 21:06:43 sam Exp $ */ /* $OpenBSD: ubsec.c,v 1.127 2003/06/04 14:04:58 jason Exp $ */ @@ -35,7 +35,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ubsec.c,v 1.35 2013/12/26 00:51:23 bad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ubsec.c,v 1.36 2014/01/03 16:07:27 pgoyette Exp $"); #undef UBSEC_DEBUG @@ -592,7 +592,7 @@ ubsec_detach(device_t self, int flags) return 0; } -MODULE(MODULE_CLASS_DRIVER, ubsec, "pci"); +MODULE(MODULE_CLASS_DRIVER, ubsec, "pci,opencrypto"); #ifdef _MODULE #include "ioconf.c"