Page MenuHomeFreeBSD

apple_bce: fix C_CONNECT_STATUS during port reset
Needs ReviewPublic

Authored by seuros on Sun, Aug 16, 8:19 PM.
Tags
None
Referenced Files
F168348876: D58875.diff
Thu, Aug 27, 5:44 PM
F168220676: D58875.id.diff
Thu, Aug 27, 12:06 AM
Unknown Object (File)
Wed, Aug 26, 10:50 AM
Unknown Object (File)
Tue, Aug 25, 8:19 PM
Unknown Object (File)
Mon, Aug 24, 8:58 PM
Unknown Object (File)
Sun, Aug 23, 9:47 AM
Unknown Object (File)
Fri, Aug 21, 2:26 PM
Unknown Object (File)
Thu, Aug 20, 12:33 AM
Subscribers

Details

Reviewers
adrian
Summary

Only set the port change bit when the corresponding status bit
actually transitioned, instead of unconditionally flagging
C_CONNECT_STATUS on every port change event. Also clear any
flaky C_CONNECT_STATUS that the port change taskqueue may have
set while the bus lock was dropped during a successful port reset.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 75630
Build 72513: arc lint + arc unit