]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Enable cesa driver to work with Linux DT binding
authormw <mw@FreeBSD.org>
Mon, 9 Apr 2018 23:36:52 +0000 (23:36 +0000)
committermw <mw@FreeBSD.org>
Mon, 9 Apr 2018 23:36:52 +0000 (23:36 +0000)
commit9235965263f9ca7b4addac98b1b0770a97d125c2
treea08a2d8f2a42b60efcfe91e536b8d8bc53950737
parent9ceceb90cf14bfb2d01fbdc3bdb1a7108b210968
Enable cesa driver to work with Linux DT binding

Linux device tree binding, whose usage is obligatory,
comprises faulty representation of Marvell cryptographic
engine (CESA) - two engines are artificially gathered into
single DT node, in order to avoid certain SW limitation.

This patch improves the cesa driver to support above binding,
depending on compatible string, which helps to ensure
backward compatibility.

Submitted by: Patryk Duda
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D14760
sys/arm/mv/mv_common.c
sys/arm/mv/mvwin.h
sys/dev/cesa/cesa.c
sys/dev/cesa/cesa.h