apply STA_INTMASK to only handle interesting bits

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25476 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2008-05-12 18:38:39 +00:00
parent 7652e27b3b
commit b2f8eafcb9

View File

@ -404,7 +404,7 @@ auich_int(void *arg)
// TRACE(("auich_int(%p)\n", card));
sta = auich_reg_read_32(&card->config, AUICH_REG_GLOB_STA);
sta = auich_reg_read_32(&card->config, AUICH_REG_GLOB_STA) & STA_INTMASK;
if (sta & card->interrupt_mask) {
if (sta & (STA_S0RI | STA_S1RI | STA_S2RI)) {