Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic CAM status values are used as xs_status and must ...



details:   https://anonhg.NetBSD.org/src/rev/1fdb02c348b3
branches:  trunk
changeset: 818760:1fdb02c348b3
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun Oct 30 23:35:10 2016 +0000

description:
CAM status values are used as xs_status and must be mapped to XS values.
Add the missing mapping for CAM_CMD_TIMEOUT.

diffstat:

 sys/dev/ic/aic7xxx_cam.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7137da178957 -r 1fdb02c348b3 sys/dev/ic/aic7xxx_cam.h
--- a/sys/dev/ic/aic7xxx_cam.h  Sun Oct 30 23:26:33 2016 +0000
+++ b/sys/dev/ic/aic7xxx_cam.h  Sun Oct 30 23:35:10 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aic7xxx_cam.h,v 1.4 2006/03/14 15:24:30 tsutsui Exp $  */
+/*     $NetBSD: aic7xxx_cam.h,v 1.5 2016/10/30 23:35:10 mlelstv Exp $  */
 
 /*
  * Data structures and definitions for the CAM system.
@@ -71,7 +71,7 @@
        CAM_REQ_INVALID = XS_DRIVER_STUFFUP,    /* CCB request was invalid */
        CAM_PATH_INVALID,                       /* Supplied Path ID is invalid */
        CAM_SEL_TIMEOUT = XS_SELTIMEOUT,        /* Target Selection Timeout */
-       CAM_CMD_TIMEOUT,                        /* Command timeout */
+       CAM_CMD_TIMEOUT = XS_TIMEOUT,           /* Command timeout */
        CAM_SCSI_STATUS_ERROR,                  /* SCSI error, look at error code in CCB */
        CAM_SCSI_BUS_RESET = XS_RESET,          /* SCSI Bus Reset Sent/Received */
        CAM_UNCOR_PARITY = XS_DRIVER_STUFFUP,   /* Uncorrectable parity error occurred */



Home | Main Index | Thread Index | Old Index