AHCI: Fix AHCI driver for ARM.
authormmel <mmel@FreeBSD.org>
Sun, 29 Nov 2015 11:28:04 +0000 (11:28 +0000)
committermmel <mmel@FreeBSD.org>
Sun, 29 Nov 2015 11:28:04 +0000 (11:28 +0000)
commit37a790bf197e858daa42e2342b8682fe618f67d0
tree47405e07e6cb4e0ad40ac0377b236b53143f11c0
parent25ef2e53c976d01ffd90c9d2091d5cc562993e6b
AHCI: Fix AHCI driver for ARM.
On ARM, we must ensure proper interdevice write ordering.
The AHCI interrupt status register must be updated in HW before
registers in interrupt controller.
Unfortunately, only way how we can do it is readback.

Discussed with: mav
Approved by: kib (mentor)
Differential Revision: https://reviews.freebsd.org/D4240
sys/dev/ahci/ahci.c
sys/dev/ahci/ahci.h