Macroize request/response in/out queue pointer access.
This commit is contained in:
parent
559a1ad2c1
commit
9927912756
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user