]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the internal API for polled commands. Calling mfi_polled_command
authorScott Long <scottl@FreeBSD.org>
Sat, 18 Nov 2006 07:33:53 +0000 (07:33 +0000)
committerScott Long <scottl@FreeBSD.org>
Sat, 18 Nov 2006 07:33:53 +0000 (07:33 +0000)
commit3c77cee1ba1ccbcbff59c68264dd08651f949d17
tree4133a01c527fde7d53d4190001ac3148ba1fd142
parent8c8a01d71460856a8cdd568eebf48ce5193b3466
Change the internal API for polled commands.  Calling mfi_polled_command
after calling mfi_mapcmd is no longer needed, so long as the MFI_CMD_POLLED
flag is set.  This change eliminates the possibility of a polled command
getting posted twice to the driver.  This is turn fixes panics on shutdown
when INVARIANTS is set.

Sponsored by: Ironport
sys/dev/mfi/mfi.c