diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2022-06-17 10:08:37 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2022-06-17 10:08:37 +0000 |
commit | a301b6717015db9037e28c3de0f300b5b8a70f2d (patch) | |
tree | 0405f94cf4e81e9f8c34735791b28f3cdc4850af /sys/dev/dec | |
parent | af70baed0e23b069a6f8855780cf2eec822188cb (diff) |
Only probe device 0 on PCI busses corresponding to a PCIe root port or a
PCIe switch/bridge downstream port. This fixes an issue where a device would
show up 32 times if the PCIe port does not terminate configuration requests
targeted at device numbers 1-31 as required by the spec and the PCIe device
does not filter requests based on its own device number. Linux, NetBSD and
FreeBSD (to some extent) already do this.
This should fix an issue seen on Ampere Altra where the BMC's PCI bridge
and USB controller would show up multiple times.
ok jsg@
Diffstat (limited to 'sys/dev/dec')
0 files changed, 0 insertions, 0 deletions