Remove MPT_PRT_INVARIANT- it was a silly idea.

This commit is contained in:
Matt Jacob 2006-05-04 02:34:18 +00:00
parent 179162e836
commit f69149626c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158278
2 changed files with 3 additions and 8 deletions

View file

@ -947,11 +947,6 @@ enum {
MPT_PRT_TRACE,
MPT_PRT_NONE=100
};
#ifdef INVARIANTS
#define MPT_PRT_INVARIANT MPT_PRT_ALWAYS
#else
#define MPT_PRT_INVARIANT MPT_PRT_DEBUG
#endif
#if __FreeBSD_version > 500000
#define mpt_lprt(mpt, level, ...) \

View file

@ -2197,7 +2197,7 @@ mpt_fc_els_reply_handler(struct mpt_softc *mpt, request_t *req,
mpt_req_not_spcl(mpt, req, "fc_els_reply_handler", __LINE__);
}
#endif
mpt_lprt(mpt, MPT_PRT_INVARIANT,
mpt_lprt(mpt, MPT_PRT_DEBUG,
"FC_ELS Complete: req %p:%u, reply %p function %x\n",
req, req->serno, reply_frame, reply_frame->Function);
@ -2269,7 +2269,7 @@ mpt_fc_els_reply_handler(struct mpt_softc *mpt, request_t *req,
/*
* This is just a ack of an original ELS buffer post
*/
mpt_lprt(mpt, MPT_PRT_INVARIANT,
mpt_lprt(mpt, MPT_PRT_DEBUG,
"RECV'd ACK of FC_ELS buf post %p:%u\n", req, req->serno);
return (TRUE);
}
@ -3572,7 +3572,7 @@ mpt_fc_post_els(struct mpt_softc *mpt, request_t *req, int ioindex)
se->FlagsLength <<= MPI_SGE_FLAGS_SHIFT;
se->FlagsLength |= (MPT_NRFM(mpt) - MPT_RQSL(mpt));
se->Address = (uint32_t) paddr;
mpt_lprt(mpt, MPT_PRT_INVARIANT,
mpt_lprt(mpt, MPT_PRT_DEBUG,
"add ELS index %d ioindex %d for %p:%u\n",
req->index, ioindex, req, req->serno);
KASSERT(((req->state & REQ_STATE_LOCKED) != 0),