Date: Wed, 26 Jan 2011 06:57:48 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r217875 - head/sys/cam/ata Message-ID: <201101260657.p0Q6vmAM066548@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; } /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101260657.p0Q6vmAM066548>