Page MenuHomeFreeBSD

Add a new rescan method to the bus interface.
ClosedPublic

Authored by jhb on Apr 20 2016, 12:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 27, 11:17 AM
Unknown Object (File)
May 8 2026, 10:24 AM
Unknown Object (File)
May 1 2026, 7:44 AM
Unknown Object (File)
May 1 2026, 6:46 AM
Unknown Object (File)
Apr 30 2026, 5:35 PM
Unknown Object (File)
Apr 21 2026, 11:26 AM
Unknown Object (File)
Apr 20 2026, 12:08 PM
Unknown Object (File)
Apr 15 2026, 9:08 AM
Subscribers

Details

Summary

Add a new rescan method to the bus interface.

The BUS_RESCAN() method rescans a single bus device checking for devices
that have been added or removed from the bus. A new 'rescan' command is
added to devctl(8) to trigger a rescan.

Test Plan
  • Used 'devctl rescan' as a poor man's pci-e hotplug implementation in conjunction with a followup commit to implement the rescan method for the PCI bus driver.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb retitled this revision from to Add a new rescan method to the bus interface..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: imp.
This revision was automatically updated to reflect the committed changes.