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: Kenneth R Westerback (krwcvs.openbsd.org)
Date: Sat Mar 29 2003 - 17:28:49 CST


CVSROOT: /cvs
Module name: src
Changes by: krwcvs.openbsd.org 2003/03/29 16:28:49

Modified files:
        sys/dev/ic : iha.c

Log message:
A few final (I hope) tweaks to the dma fixes.

1) Return XS_DRIVER_STUFFUP if request sense cannot be loaded.

2) Try to avoid bus_dmamap_unload()'ing maps that have already been
unloaded.

3) Try to avoid bus_dmamap_load()'ing maps that are loaded.

4) Be extra paranoid and ensure bus_dmamap_sync()'s are done before
a bus_dmamap_unload().