Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mps/mps.c
Show First 20 Lines • Show All 1,916 Lines • ▼ Show 20 Lines | case MPI2_RPY_DESCRIPT_FLAGS_ADDRESS_REPLY: | ||||
* If SMID is 0 for Diag Buffer Post, | * If SMID is 0 for Diag Buffer Post, | ||||
* this implies that the reply is due to | * this implies that the reply is due to | ||||
* a release function with a status that | * a release function with a status that | ||||
* the buffer has been released. Set | * the buffer has been released. Set | ||||
* the buffer flags accordingly. | * the buffer flags accordingly. | ||||
*/ | */ | ||||
rel_rep = | rel_rep = | ||||
(MPI2_DIAG_RELEASE_REPLY *)reply; | (MPI2_DIAG_RELEASE_REPLY *)reply; | ||||
if (le16toh(rel_rep->IOCStatus) == | if ((le16toh(rel_rep->IOCStatus) & | ||||
MPI2_IOCSTATUS_MASK) == | |||||
MPI2_IOCSTATUS_DIAGNOSTIC_RELEASED) | MPI2_IOCSTATUS_DIAGNOSTIC_RELEASED) | ||||
{ | { | ||||
pBuffer = | pBuffer = | ||||
&sc->fw_diag_buffer_list[ | &sc->fw_diag_buffer_list[ | ||||
rel_rep->BufferType]; | rel_rep->BufferType]; | ||||
pBuffer->valid_data = TRUE; | pBuffer->valid_data = TRUE; | ||||
pBuffer->owned_by_firmware = | pBuffer->owned_by_firmware = | ||||
FALSE; | FALSE; | ||||
pBuffer->immediate = FALSE; | pBuffer->immediate = FALSE; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 753 Lines • Show Last 20 Lines |