OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Christopher Pascoe (pascoecvs.openbsd.org)
Date: Wed Mar 28 2007 - 01:40:20 CDT


CVSROOT: /cvs
Module name: src
Changes by: pascoecvs.openbsd.org 2007/03/28 00:40:20

Modified files:
        sys/dev/pci : ahci.c

Log message:
While we are determining which NCQ command failed, we will need to ensure
that we don't accidentally complete any other outstanding commands.

This introduces wrappers around get_ccb and put_ccb that can temporarily
stash our outstanding command state while we are issuing recovery commands.

This is just the first step in NCQ recovery - for now we will reset the port
on error which will permit further commands to be issued after a NCQ error.

ok dlg