HomeFreeBSD

Implement bus_rescan for gpiobus(4). This allows on-the-fly reconfiguration

Description

Implement bus_rescan for gpiobus(4). This allows on-the-fly reconfiguration
of gpio devices by using kenv to add hints for a new device and then do
'devctl rescan gpiobus4' to make the new device(s) attach.

It's not particularly easy to detect whether the 'at' hint has been deleted
for a child device that's currently attached, so this doesn't handle that.
But the user can use devctl commands to manually detach an existing device.

Details

Provenance
ianAuthored on
Parents
rS355466: Remove the extra epoch tracker change sneaked into r355449 and was not part
Branches
Unknown
Tags
Unknown