Page MenuHomeFreeBSD

powerpc/booke: Simplify the MPC85XX PCIe root complex driver
ClosedPublic

Authored by jhibbits on Oct 16 2019, 1:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 29 2024, 2:33 PM
Unknown Object (File)
Sep 29 2024, 1:09 PM
Unknown Object (File)
Sep 27 2024, 8:46 PM
Unknown Object (File)
Sep 24 2024, 8:02 PM
Unknown Object (File)
Sep 24 2024, 4:01 PM
Unknown Object (File)
Sep 24 2024, 2:01 AM
Unknown Object (File)
Sep 23 2024, 12:37 PM
Unknown Object (File)
Sep 20 2024, 10:56 PM
Subscribers

Details

Summary

Due to bugs in the enumeration code, fsl_pcib_init() was not configuring
sub-bridges properly, so devices hanging off a separate bridge would not
be found. Since the generic PCI code already supports probing child
buses, just delete this code and initialize only the device itself,
letting the generic code handle all the additional probing and
initializing.

Diff Detail

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

Event Timeline

Tested previously on GCC4 kernel on X5000.

Tested on clang kernel on X5000 (now that clang kernel is working).

sys/powerpc/mpc85xx/pci_mpc85xx.c
324 ↗(On Diff #63339)

Slight conflict -- HEAD is missing ipreg here.

This revision is now accepted and ready to land.Oct 23 2019, 2:52 AM
sys/powerpc/mpc85xx/pci_mpc85xx.c
324 ↗(On Diff #63339)

yeah, both this and D22014 mess with the same line.