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: Tue Mar 20 2007 - 02:09:42 CDT


CVSROOT: /cvs
Module name: src
Changes by: pascoecvs.openbsd.org 2007/03/20 01:09:42

Modified files:
        sys/dev/ata : atascsi.c atascsi.h
        sys/dev/pci : ahci.c

Log message:
Request "descriptor processed" interrupts only for PIO requests (inquiry,
etc), and request that the D2H FIS at the completion of all (DMA) commands
generate an interrupt.

This makes each data transfer generate one interrupt instead of two and
should guarantee that the interrupt that is generated actually arrives
after the command has completed.