From e2929f5f912fa571457c9d9618c9228bf281acb1 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Tue, 24 Nov 2015 19:20:49 +0000 Subject: [PATCH] Rename ASYNC_LIP_F8 to ASYNC_LIP_NOS_OLS_RECV. New name better repsents its meaning for modern chips. --- sys/dev/isp/isp.c | 2 +- sys/dev/isp/isp_target.c | 2 +- sys/dev/isp/ispmbox.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c index 04ef001017ce..7b5b3992784a 100644 --- a/sys/dev/isp/isp.c +++ b/sys/dev/isp/isp.c @@ -5646,7 +5646,7 @@ isp_parse_async_fc(ispsoftc_t *isp, uint16_t mbox) #endif break; case ASYNC_LIP_ERROR: - case ASYNC_LIP_F8: + case ASYNC_LIP_NOS_OLS_RECV: case ASYNC_LIP_OCCURRED: case ASYNC_PTPMODE: /* diff --git a/sys/dev/isp/isp_target.c b/sys/dev/isp/isp_target.c index c6046446074f..c6e48febd3e8 100644 --- a/sys/dev/isp/isp_target.c +++ b/sys/dev/isp/isp_target.c @@ -639,7 +639,7 @@ isp_target_async(ispsoftc_t *isp, int bus, int event) isp_async(isp, ISPASYNC_TARGET_NOTIFY, ¬ify); break; case ASYNC_LIP_ERROR: - case ASYNC_LIP_F8: + case ASYNC_LIP_NOS_OLS_RECV: case ASYNC_LIP_OCCURRED: case ASYNC_LOOP_RESET: isp_prt(isp, ISP_LOGTDEBUG0, "%s: LIP RESET", __func__); diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h index 2978b0c1f35c..d7246791dfdd 100644 --- a/sys/dev/isp/ispmbox.h +++ b/sys/dev/isp/ispmbox.h @@ -252,7 +252,7 @@ #define ASYNC_LOOP_RESET 0x8013 /* FC only */ #define ASYNC_PDB_CHANGED 0x8014 #define ASYNC_CHANGE_NOTIFY 0x8015 -#define ASYNC_LIP_F8 0x8016 /* FC only */ +#define ASYNC_LIP_NOS_OLS_RECV 0x8016 /* FC only */ #define ASYNC_LIP_ERROR 0x8017 /* FC only */ #define ASYNC_AUTO_PLOGI_RJT 0x8018 #define ASYNC_SECURITY_UPDATE 0x801B