Page MenuHomeFreeBSD

Use SoC ID - based detection in CESA
ClosedPublic

Authored by mw_semihalf.com on Jan 19 2017, 5:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 4:37 PM
Unknown Object (File)
Oct 2 2024, 6:32 AM
Unknown Object (File)
Sep 30 2024, 11:14 PM
Unknown Object (File)
Sep 27 2024, 4:26 AM
Unknown Object (File)
Sep 17 2024, 10:56 AM
Unknown Object (File)
Sep 12 2024, 9:24 AM
Unknown Object (File)
Sep 8 2024, 4:03 PM
Unknown Object (File)
Sep 8 2024, 12:54 AM
Subscribers

Details

Summary

This commit introduces following changes in order to get rid of
ifdef's from all around the driver.

  • Introduce sc_soc_id field in cesa_softc structure - this value is obtained in cesa_attach() anyway, so make use of it.
  • Replace ifdefs with SoC ID checks.
  • Perform PM control status only for relevant SoC's.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

mw_semihalf.com retitled this revision from to Use SoC ID - based detection in CESA.
mw_semihalf.com updated this object.
mw_semihalf.com edited the test plan for this revision. (Show Details)
mw_semihalf.com added reviewers: ian, imp, zbb, fabient.
mw_semihalf.com set the repository for this revision to rS FreeBSD src repository - subversion.
mw_semihalf.com added subscribers: ARM, mmel.
zbb edited edge metadata.
zbb added inline comments.
sys/dev/cesa/cesa.c
1204

Found it! Style ;-)

This revision is now accepted and ready to land.Jan 19 2017, 6:09 PM
mw_semihalf.com edited edge metadata.

Fix style in one of assignments.

This revision now requires review to proceed.Jan 20 2017, 12:33 PM
This revision was automatically updated to reflect the committed changes.