summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isp/isp_inline.h2
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));
OpenPOWER on IntegriCloud