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)
Tue, Nov 4, 5:13 PM
Unknown Object (File)
Tue, Nov 4, 5:12 PM
Unknown Object (File)
Tue, Nov 4, 5:12 PM
Unknown Object (File)
Tue, Nov 4, 5:10 PM
Unknown Object (File)
Sat, Oct 25, 1:02 AM
Unknown Object (File)
Oct 15 2025, 5:21 AM
Unknown Object (File)
Sep 28 2025, 12:52 AM
Unknown Object (File)
Sep 19 2025, 12:45 PM
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 Not Applicable
Unit
Tests Not Applicable

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