svn commit: r218342 - stable/8/sys/cam/ata
Alexander Motin
mav at FreeBSD.org
Sat Feb 5 20:57:02 UTC 2011
Author: mav
Date: Sat Feb 5 20:57:01 2011
New Revision: 218342
URL: http://svn.freebsd.org/changeset/base/218342
Log:
MFC r217875:
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.
PR: kern/152817
Modified:
stable/8/sys/cam/ata/ata_xpt.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
Modified: stable/8/sys/cam/ata/ata_xpt.c
==============================================================================
--- stable/8/sys/cam/ata/ata_xpt.c Sat Feb 5 20:54:47 2011 (r218341)
+++ stable/8/sys/cam/ata/ata_xpt.c Sat Feb 5 20:57:01 2011 (r218342)
@@ -778,6 +778,14 @@ probedone(struct cam_periph *periph, uni
} 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;
}
/*
More information about the svn-src-stable-8
mailing list