If you're going to build this driver as a module, make sure that it

depends on opencrypto module.
This commit is contained in:
pgoyette 2014-01-03 16:07:27 +00:00
parent e1cc895ece
commit ff65229f7e
1 changed files with 3 additions and 3 deletions

View File

@ -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 $ */ /* $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 $ */ /* $OpenBSD: ubsec.c,v 1.127 2003/06/04 14:04:58 jason Exp $ */
@ -35,7 +35,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__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 #undef UBSEC_DEBUG
@ -592,7 +592,7 @@ ubsec_detach(device_t self, int flags)
return 0; return 0;
} }
MODULE(MODULE_CLASS_DRIVER, ubsec, "pci"); MODULE(MODULE_CLASS_DRIVER, ubsec, "pci,opencrypto");
#ifdef _MODULE #ifdef _MODULE
#include "ioconf.c" #include "ioconf.c"