freebsd-dev/sys/dev/cesa
Wojciech Macek 81526b839f Use SoC ID - based detection in CESA
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.

Submitted by:          Marcin Wojtas <mw@semihalf.com>
Obtained from:         Semihalf
Sponsored by:          Stormshield
Reviewed by:           zbb
Differential revision: https://reviews.freebsd.org/D9247
2017-01-25 10:22:07 +00:00
..
cesa.c Use SoC ID - based detection in CESA 2017-01-25 10:22:07 +00:00
cesa.h Use SoC ID - based detection in CESA 2017-01-25 10:22:07 +00:00