aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ahci
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2012-06-04 07:03:56 +0000
committerAlexander Motin <mav@FreeBSD.org>2012-06-04 07:03:56 +0000
commit041e8cc5d05b87955a52af63b3c5d41ba66dbd13 (patch)
tree00759f7948d3ec201215ee90aee01f10cc34660e /sys/dev/ahci
parentf1c6aa836cb98a14c4d424c1383274672d588504 (diff)
Notes
Diffstat (limited to 'sys/dev/ahci')
-rw-r--r--sys/dev/ahci/ahci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ahci/ahci.c b/sys/dev/ahci/ahci.c
index 2fc9dc7cb505..e86196069dfc 100644
--- a/sys/dev/ahci/ahci.c
+++ b/sys/dev/ahci/ahci.c
@@ -1458,7 +1458,9 @@ ahci_ch_intr_locked(void *data)
struct ahci_channel *ch = device_get_softc(dev);
mtx_lock(&ch->mtx);
+ xpt_batch_start(ch->sim);
ahci_ch_intr(data);
+ xpt_batch_done(ch->sim);
mtx_unlock(&ch->mtx);
}