Macroize request/response in/out queue pointer access.
This commit is contained in:
parent
559a1ad2c1
commit
9927912756
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79240
@ -123,7 +123,7 @@ isp_getrqentry(struct ispsoftc *isp, u_int16_t *iptrp,
|
|||||||
{
|
{
|
||||||
volatile u_int16_t iptr, optr;
|
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;
|
iptr = isp->isp_reqidx;
|
||||||
*resultp = ISP_QUEUE_ENTRY(isp->isp_rquest, iptr);
|
*resultp = ISP_QUEUE_ENTRY(isp->isp_rquest, iptr);
|
||||||
iptr = ISP_NXT_QENTRY(iptr, RQUEST_QUEUE_LEN(isp));
|
iptr = ISP_NXT_QENTRY(iptr, RQUEST_QUEUE_LEN(isp));
|
||||||
|
Loading…
Reference in New Issue
Block a user