diff options
author | mjacob <mjacob@FreeBSD.org> | 2001-07-04 18:52:23 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2001-07-04 18:52:23 +0000 |
commit | 354b370854482bf6b20fdb6c6e202b6eca2ff1c7 (patch) | |
tree | 9ed358c02516e89567d8dd10ab0c6547b89e09f2 /sys/dev | |
parent | b8be3ffb7d0a6e59a7aa48407cff78ba76354a2d (diff) | |
download | FreeBSD-src-354b370854482bf6b20fdb6c6e202b6eca2ff1c7.zip FreeBSD-src-354b370854482bf6b20fdb6c6e202b6eca2ff1c7.tar.gz |
Macroize request/response in/out queue pointer access.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/isp/isp_inline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_inline.h b/sys/dev/isp/isp_inline.h index cec472d..fe7ed4b 100644 --- a/sys/dev/isp/isp_inline.h +++ b/sys/dev/isp/isp_inline.h @@ -123,7 +123,7 @@ isp_getrqentry(struct ispsoftc *isp, u_int16_t *iptrp, { volatile u_int16_t iptr, optr; - optr = isp->isp_reqodx = ISP_READ(isp, OUTMAILBOX4); + optr = isp->isp_reqodx = READ_REQUEST_QUEUE_OUT_POINTER(isp); iptr = isp->isp_reqidx; *resultp = ISP_QUEUE_ENTRY(isp->isp_rquest, iptr); iptr = ISP_NXT_QENTRY(iptr, RQUEST_QUEUE_LEN(isp)); |