Fix a typo when getting the log_state and set the flags on the

command to signify it is being polled and expecting data to be dma'd
from the card.
This commit is contained in:
Paul Saab 2006-06-20 22:17:54 +00:00
parent f3a331b7c8
commit 330df1ac0d

View File

@ -588,7 +588,7 @@ mfi_get_log_state(struct mfi_softc *sc, struct mfi_evt_log_state **log_state)
(void **)log_state, sizeof(**log_state));
if (error)
goto out;
cm->cm_len = sizeof(struct mfi_evt_log_state);
cm->cm_flags = MFI_CMD_DATAIN | MFI_CMD_POLLED;
if ((error = mfi_mapcmd(sc, cm)) != 0) {
device_printf(sc->mfi_dev, "Log state buffer map failed\n");