diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-08-04 20:14:52 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-08-04 20:14:52 +0000 |
commit | 7a3e8ba54d96a7fdfc9ec50f6ecaea111e35b606 (patch) | |
tree | b8fcf64285bbdd265abf24a466d769d388504b08 | |
parent | 9594cc01412b1b24a82ba7a885ca4deab53d8a2f (diff) | |
download | FreeBSD-src-7a3e8ba54d96a7fdfc9ec50f6ecaea111e35b606.zip FreeBSD-src-7a3e8ba54d96a7fdfc9ec50f6ecaea111e35b606.tar.gz |
Initialize 2300 request/response pointers in isp_reset- not in
isp_fibre_init.
-rw-r--r-- | sys/dev/isp/isp.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c index 74125b4..551cf1d 100644 --- a/sys/dev/isp/isp.c +++ b/sys/dev/isp/isp.c @@ -226,6 +226,10 @@ isp_reset(ispsoftc_t *isp) isp->isp_rqstoutrp = BIU_REQOUTP; isp->isp_respinrp = BIU_RSPINP; isp->isp_respoutrp = BIU_RSPOUTP; + ISP_WRITE(isp, isp->isp_rqstinrp, 0); + ISP_WRITE(isp, isp->isp_rqstoutrp, 0); + ISP_WRITE(isp, isp->isp_respinrp, 0); + ISP_WRITE(isp, isp->isp_respoutrp, 0); } else { isp->isp_rqstinrp = INMAILBOX4; isp->isp_rqstoutrp = OUTMAILBOX4; @@ -1438,13 +1442,6 @@ isp_fibre_init(ispsoftc_t *isp) icbp->icb_logintime = ICB_LOGIN_TOV; icbp->icb_lunetimeout = ICB_LUN_ENABLE_TOV; - if (IS_23XX(isp)) { - ISP_WRITE(isp, isp->isp_rqstinrp, 0); - ISP_WRITE(isp, isp->isp_rqstoutrp, 0); - ISP_WRITE(isp, isp->isp_respinrp, 0); - ISP_WRITE(isp, isp->isp_respoutrp, 0); - } - nwwn = ISP_NODEWWN(isp); pwwn = ISP_PORTWWN(isp); if (nwwn && pwwn) { |