From ab67092e4daedf033c2ff29a17de0d1811afcdca Mon Sep 17 00:00:00 2001 From: mav Date: Wed, 26 Jan 2011 06:57:48 +0000 Subject: 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. --- sys/cam/ata/ata_xpt.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys/cam') 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; } /* -- cgit v1.1