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)
Sat, Sep 12, 3:12 PM
Unknown Object (File)
Fri, Sep 11, 1:55 AM
Unknown Object (File)
Thu, Sep 10, 7:19 PM
Unknown Object (File)
Tue, Sep 8, 3:05 AM
Unknown Object (File)
Mon, Sep 7, 10:02 PM
Unknown Object (File)
Sun, Sep 6, 1:02 PM
Unknown Object (File)
Sat, Sep 5, 1:22 PM
Unknown Object (File)
Sat, Sep 5, 12:30 PM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 3336
Build 3371: arc lint + arc unit

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.