]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
qoriq_gpio: Add support for driver inheritance
authorKornel Duleba <mindal@semihalf.com>
Fri, 29 Oct 2021 14:06:35 +0000 (16:06 +0200)
committerWojciech Macek <wma@FreeBSD.org>
Sat, 6 Nov 2021 08:08:45 +0000 (09:08 +0100)
commitb8b7c0dda9a085902f702f8c89271b852aa898a4
tree2dd6238f03e8ff50596c47cc628655ecdc3742cf
parent048a71b46e816de8fb95b553a8ad0e98c0d51e12
qoriq_gpio: Add support for driver inheritance

Expose softc and other necessary things in a separate header.
This is needed for an armv8 specific driver, that will inherit from this
one. Driver mutex was converted to a spin lock, so that it can be later
used in interrupt filter context.

Obtained from: Semihalf
Sponsored by: Alstom Group
Differential revision: https://reviews.freebsd.org/D32587
sys/dev/gpio/qoriq_gpio.c
sys/dev/gpio/qoriq_gpio.h [new file with mode: 0644]