HomeFreeBSD

pbio: Return BUS_PROBE_DEFAULT from probe instead of 0.

Description

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)

Details

Provenance
jhbAuthored on May 5 2022, 11:39 PM
Differential Revision
D35080: pbio: Return BUS_PROBE_DEFAULT from probe instead of 0.
Parents
rGc6960a68817c: pbio: Axe bus_space tag/handle using bus_read/write_1 instead.
Branches
Unknown
Tags
Unknown