]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do a read-after-write to ensure the interrupt register update is flushed
authorAdrian Chadd <adrian@FreeBSD.org>
Sun, 27 Apr 2014 23:31:42 +0000 (23:31 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Sun, 27 Apr 2014 23:31:42 +0000 (23:31 +0000)
commit552c5506283d37430d9f3eb28e927b198fbea4f5
tree27bdd0a02a57e6a744ae89f55b7dbfd343be5d36
parent9febee763bdded4e44b5adde5b860fb5f75b8200
Do a read-after-write to ensure the interrupt register update is flushed
to the hardware.

The QCA HAL has a comment noting that if this isn't done, modifications
to AR_IMR_S2 before AR_IMR is flushed may produce spurious interrupts.

Obtained from: QCA
sys/dev/ath/ath_hal/ar5416/ar5416_interrupts.c