mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
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
This commit is contained in:
parent
bb81a138c3
commit
4942e8df47
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user