git: bde0080b3dec - stable/13 - pbio: Return BUS_PROBE_DEFAULT from probe instead of 0.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 20 May 2022 00:21:04 UTC
The branch stable/13 has been updated by jhb:

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

commit bde0080b3decbc668bbda64d427b441794f92790
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-05 23:39:19 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-19 22:01:50 +0000

    pbio: Return BUS_PROBE_DEFAULT from probe instead of 0.
    
    0 should only be returned from probe in legacy drivers that need to
    preserve softc state between probe and attach.
    
    Differential Revision:  https://reviews.freebsd.org/D35080
    
    (cherry picked from commit 4942e8df472bdb49e72a8c9b60e8189bdb037b8c)
---
 sys/dev/pbio/pbio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/pbio/pbio.c b/sys/dev/pbio/pbio.c
index 837b419e298c..516ec3a73408 100644
--- a/sys/dev/pbio/pbio.c
+++ b/sys/dev/pbio/pbio.c
@@ -200,7 +200,7 @@ pbioprobe(device_t dev)
 	/* Set all ports to input */
 	/* pboutb(scp, PBIO_CFG, 0x9b); */
 	bus_release_resource(dev, SYS_RES_IOPORT, rid, scp->res);
-	return (0);
+	return (BUS_PROBE_DEFAULT);
 }
 
 /*