HomeFreeBSD

powerpcspe: fix PCI enumeration on ppce500

Description

powerpcspe: fix PCI enumeration on ppce500

This fixes PCI devices not being found on QEMU ppce500. This
generic board used to have its first PCI slot at 0x11, like the
mpc8544dsi and some real HW. After commit [1], it was changed to
0x1 and our driver wasn't prepared for that.

[1] https://gitlab.com/qemu-project/qemu/-/commit/3bb7e02a9725a24e5bf915b35f914f82f5b07a1f

Reviewed by: jhibbits, bdragon
MFC after: 2 days
Sponsored by: Institudo de Pesquisas Eldorado (eldorado.org.br)
Differential Revision: https://reviews.freebsd.org/D34621

(cherry picked from commit 27f56d337be39a3f493febb585f3484c4cb6c3b6)

Details

Provenance
alfredoAuthored on Mar 21 2022, 10:57 AM
Reviewer
jhibbits
Differential Revision
D34621: powerpcspe: fix PCI enumeration on ppce500
Parents
rG6cebc086b43a: snd_hda.4: correct typos
Branches
Unknown
Tags
Unknown