summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ahci.c
diff options
context:
space:
mode:
authorChristopher Pascoe <pascoe@cvs.openbsd.org>2007-03-21 13:08:45 +0000
committerChristopher Pascoe <pascoe@cvs.openbsd.org>2007-03-21 13:08:45 +0000
commit3244c95d4ad06f815f6505947e4865256c5c4ba0 (patch)
tree4d11366fd9dc85e5934a656a9f155302f6c1d26a /sys/dev/pci/ahci.c
parentf84f22fe97271ed221b39d7fa7d1e347e3ba541a (diff)
NCQ commands generate a "Set Device Bits" FIS upon completion. Enable the
generation of interrupts when they arrive.
Diffstat (limited to 'sys/dev/pci/ahci.c')
-rw-r--r--sys/dev/pci/ahci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/ahci.c b/sys/dev/pci/ahci.c
index 924f9738c6e..e420ec28f39 100644
--- a/sys/dev/pci/ahci.c
+++ b/sys/dev/pci/ahci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ahci.c,v 1.94 2007/03/21 12:41:28 pascoe Exp $ */
+/* $OpenBSD: ahci.c,v 1.95 2007/03/21 13:08:44 pascoe Exp $ */
/*
* Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
@@ -952,7 +952,7 @@ nomem:
/* Enable port interrupts */
ahci_pwrite(ap, AHCI_PREG_IE, AHCI_PREG_IE_TFEE | AHCI_PREG_IE_HBFE |
AHCI_PREG_IE_IFE | AHCI_PREG_IE_OFE | AHCI_PREG_IE_DPE |
- AHCI_PREG_IE_UFE | AHCI_PREG_IE_DHRE);
+ AHCI_PREG_IE_UFE | AHCI_PREG_IE_SDBE | AHCI_PREG_IE_DHRE);
freeport:
if (rc != 0)