summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2011-01-26 06:57:48 +0000
committermav <mav@FreeBSD.org>2011-01-26 06:57:48 +0000
commitab67092e4daedf033c2ff29a17de0d1811afcdca (patch)
tree7090823d5a238a6cc1ef16b787fc47997653c019 /sys/cam
parent36a124cfce9d4580bc5f356ddb1207eb50950573 (diff)
downloadFreeBSD-src-ab67092e4daedf033c2ff29a17de0d1811afcdca.zip
FreeBSD-src-ab67092e4daedf033c2ff29a17de0d1811afcdca.tar.gz
In addition to r217444 ignore also ATA status errors on DMA Auto-Activation
enabling request. Some HP disks reported to return ABORT error there while declaring support for this feature.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/ata/ata_xpt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/cam/ata/ata_xpt.c b/sys/cam/ata/ata_xpt.c
index 5a50b12..db45f8f 100644
--- a/sys/cam/ata/ata_xpt.c
+++ b/sys/cam/ata/ata_xpt.c
@@ -778,6 +778,14 @@ probedone(struct cam_periph *periph, union ccb *done_ccb)
} else if (softc->action == PROBE_SETPM &&
status == CAM_ATA_STATUS_ERROR) {
goto noerror;
+
+ /*
+ * Some HP SATA disks report supported DMA Auto-Activation,
+ * but return ABORT on attempt to enable it.
+ */
+ } else if (softc->action == PROBE_SETDMAAA &&
+ status == CAM_ATA_STATUS_ERROR) {
+ goto noerror;
}
/*
OpenPOWER on IntegriCloud