Author: mav Date: Wed Jan 26 06:57:48 2011 New Revision: 217875 URL: http://svn.freebsd.org/changeset/base/217875
Log: 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. Modified: head/sys/cam/ata/ata_xpt.c Modified: head/sys/cam/ata/ata_xpt.c ============================================================================== --- head/sys/cam/ata/ata_xpt.c Wed Jan 26 06:37:51 2011 (r217874) +++ head/sys/cam/ata/ata_xpt.c Wed Jan 26 06:57:48 2011 (r217875) @@ -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; } /* _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"