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)
Dec 23 2023, 12:20 AM
Unknown Object (File)
Sep 6 2023, 6:46 AM
Unknown Object (File)
Sep 6 2023, 6:45 AM
Unknown Object (File)
Sep 6 2023, 6:43 AM
Unknown Object (File)
Sep 6 2023, 6:35 AM
Unknown Object (File)
Sep 1 2023, 5:45 AM
Unknown Object (File)
Aug 7 2023, 10:05 PM
Unknown Object (File)
Jun 27 2023, 7:30 AM
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.