Page MenuHomeFreeBSD

twsi: some variants clear interrupt flag by writing 0, others by writing 1
ClosedPublic

Authored by avg on Sep 3 2020, 8:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 4 2024, 5:28 AM
Unknown Object (File)
Oct 4 2024, 1:44 AM
Unknown Object (File)
Oct 2 2024, 9:15 PM
Unknown Object (File)
Oct 2 2024, 5:24 PM
Unknown Object (File)
Oct 2 2024, 5:17 PM
Unknown Object (File)
Oct 2 2024, 12:13 PM
Unknown Object (File)
Sep 30 2024, 11:32 PM
Unknown Object (File)
Sep 30 2024, 4:18 AM
Subscribers

Details

Summary

Make that distinction more explicit and regular in the code.
The difference in behavior is documented in the respective datasheets.

Previously, the code handled the distinction by writing the control
register multiple times where at least one write was zero and another
was one.

This can be considered a follow-up to rS363021.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33353
Build 30662: arc lint + arc unit

Event Timeline

avg requested review of this revision.Sep 3 2020, 8:23 AM

Mhm I was sure that the read was needed and I think it was H3 that I tested that with, but since you have H3 I guess I was wrong.

This revision is now accepted and ready to land.Sep 3 2020, 9:31 AM