Page MenuHomeFreeBSD

Add a pcib_attach_child() method to manage adding the child "pci" device.
ClosedPublic

Authored by jhb on Apr 20 2016, 2:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 5 2024, 11:19 AM
Unknown Object (File)
Jan 14 2024, 5:35 PM
Unknown Object (File)
Jan 8 2024, 5:10 PM
Unknown Object (File)
Jan 8 2024, 5:10 PM
Unknown Object (File)
Jan 8 2024, 4:56 PM
Unknown Object (File)
Sep 29 2023, 6:20 PM
Unknown Object (File)
Aug 27 2023, 2:59 PM
Unknown Object (File)
Aug 13 2023, 12:47 PM
Subscribers

Details

Summary

Add a pcib_attach_child() method to manage adding the child "pci" device.

This allows the PCI-PCI bridge driver to save a reference to the child
device in its softc.

Note that this required moving the "pci" device creation out of
acpi_pcib_attach(). Instead, acpi_pcib_attach() is renamed to
acpi_pcib_fetch_prt() as it's sole action now is to fetch the PCI
interrupt routing table.

Test Plan
  • This has been tested as part of the hotplug patches. Keeping a reference to the child "pci" device allows the pcib driver to attach/detach the device on hotplug events.

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 pcib_attach_child() method to manage adding the child "pci" device..
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.