summaryrefslogtreecommitdiff
path: root/sys/opencrypto/cryptosoft.c
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2010-11-21 00:50:29 +0000
committerMarius Strobl <marius@FreeBSD.org>2010-11-21 00:50:29 +0000
commitc08ef373f3405dd747228d1311b1d2d11124e084 (patch)
treee86b6a0e5f8b4f61db6a53119ba23699efe0f61a /sys/opencrypto/cryptosoft.c
parent3d7fe2b587f51eedc46eba01b848dc1d94a36b37 (diff)
Notes
Diffstat (limited to 'sys/opencrypto/cryptosoft.c')
-rw-r--r--sys/opencrypto/cryptosoft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/opencrypto/cryptosoft.c b/sys/opencrypto/cryptosoft.c
index e05b015c2187..d73f462db696 100644
--- a/sys/opencrypto/cryptosoft.c
+++ b/sys/opencrypto/cryptosoft.c
@@ -1060,7 +1060,7 @@ swcr_identify(driver_t *drv, device_t parent)
{
/* NB: order 10 is so we get attached after h/w devices */
if (device_find_child(parent, "cryptosoft", -1) == NULL &&
- BUS_ADD_CHILD(parent, 10, "cryptosoft", -1) == 0)
+ BUS_ADD_CHILD(parent, 10, "cryptosoft", 0) == 0)
panic("cryptosoft: could not attach");
}
@@ -1068,7 +1068,7 @@ static int
swcr_probe(device_t dev)
{
device_set_desc(dev, "software crypto");
- return (0);
+ return (BUS_PROBE_NOWILDCARD);
}
static int