HomeFreeBSD

pcib: Clear any pending slot status events during attach

Description

pcib: Clear any pending slot status events during attach

Any events left over from boot firmware, etc. are not meaningful so
clear pending events during attach. If they are still pending they
should remain asserted when the slot status register is re-read.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D49950

(cherry picked from commit ff45e4759a38f44a0199b2948b7b1e987e7c71da)

Details

Provenance
jhbAuthored on Apr 22 2025, 2:08 AM
Reviewer
imp
Differential Revision
D49950: pcib: Clear any pending slot status events during attach
Parents
rG4373c15f1fa2: pcib: Ignore power fault detected if a power controller is not present
Branches
Unknown
Tags
Unknown