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)
Thu, Sep 5, 6:20 PM
Unknown Object (File)
Sun, Aug 25, 4:31 PM
Unknown Object (File)
Mon, Aug 19, 3:41 AM
Unknown Object (File)
Mon, Aug 19, 12:24 AM
Unknown Object (File)
Sun, Aug 18, 11:09 AM
Unknown Object (File)
Fri, Aug 16, 4:01 AM
Unknown Object (File)
Thu, Aug 15, 11:54 PM
Unknown Object (File)
Tue, Aug 13, 1:51 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