Typo fix; use & to test for bits set in the status register.

Submitted by:	Joel Jacobson <jake@3ware.com>
This commit is contained in:
Mike Smith 2001-02-26 20:13:19 +00:00
parent b9af273fe3
commit 358cd20f3a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73104

View File

@ -315,7 +315,7 @@ twe_intr(struct twe_softc *sc)
twe_attention_intr(sc);
if (status_reg & TWE_STATUS_COMMAND_INTERRUPT)
twe_command_intr(sc);
if (status_reg * TWE_STATUS_RESPONSE_INTERRUPT)
if (status_reg & TWE_STATUS_RESPONSE_INTERRUPT)
twe_done(sc);
};