The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=4fc60fa9294f82c7f4e1a0e71f9a17794124217f

commit 4fc60fa9294f82c7f4e1a0e71f9a17794124217f
Author:     Mark Johnston <ma...@freebsd.org>
AuthorDate: 2021-03-05 18:11:25 +0000
Commit:     Mark Johnston <ma...@freebsd.org>
CommitDate: 2021-03-05 18:11:25 +0000

    opencrypto: Make cryptosoft attach silently
    
    cryptosoft is always present and doesn't print any useful information
    when it attaches.
    
    Reviewed by:    jhb
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D29098
---
 sys/opencrypto/cryptosoft.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/opencrypto/cryptosoft.c b/sys/opencrypto/cryptosoft.c
index 947f27a388d1..a09f085a1eef 100644
--- a/sys/opencrypto/cryptosoft.c
+++ b/sys/opencrypto/cryptosoft.c
@@ -1658,6 +1658,7 @@ static int
 swcr_probe(device_t dev)
 {
        device_set_desc(dev, "software crypto");
+       device_quiet(dev);
        return (BUS_PROBE_NOWILDCARD);
 }
 
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to