]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bcm2835_sdhci: use a macro for interrupts we handle
authorkevans <kevans@FreeBSD.org>
Mon, 18 Nov 2019 19:28:09 +0000 (19:28 +0000)
committerkevans <kevans@FreeBSD.org>
Mon, 18 Nov 2019 19:28:09 +0000 (19:28 +0000)
commitd2101aba132018e73854787ddeda0eb68cd134ed
treec6409b183f67d01140d1a78309252a62d7f19958
parent8543aab1ce3b022240cce5897a11e4376156aa4f
bcm2835_sdhci: use a macro for interrupts we handle

This is just further simplification, very little functional change. In the
DMA interrupt handler, we *do* now acknowledge both DATA_AVAIL | SPACE_AVAIL
every time -- these operations are mutually exclusive, so while this is a
functional change, it's effectively a nop. Removing the 'mask' local allows
us to further simplify in a future change.
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c