HomeFreeBSD

Do not fail 'devctl clear driver' if another driver is not found

Description

Do not fail 'devctl clear driver' if another driver is not found

Detaching the bhyve(4) ppt driver from an unsupported PCI device
should not raise a "Device not configured" error. We do not expect
that a new driver must take over the device in this case.

Reviewed by: imp, jhb
Differential Revision: https://reviews.freebsd.org/D52050

Details

Provenance
saper_saper.infoAuthored on Feb 25 2026, 1:58 AM
jhbCommitted on Feb 25 2026, 1:58 AM
Reviewer
imp
Differential Revision
D52050: 'devctl clear driver' shall not fail if no driver has been found
Parents
rGef1218add1d3: kern/sched_shims.c: back to ifunc
Branches
Unknown
Tags
Unknown