Patch by JiSheng Zhang, which fixes an interrupt flood on certain hardware

when the firewire bus manager is installed. (Fixes ticket #3595.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29770 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-03-29 08:03:06 +00:00
parent 664c8b6d9b
commit 38f4b2ae8e
1 changed files with 1 additions and 0 deletions

View File

@ -580,6 +580,7 @@ fwohci_reset(struct fwohci_softc *sc)
| OHCI_INT_PHY_BUS_R | OHCI_INT_PW_ERR); | OHCI_INT_PHY_BUS_R | OHCI_INT_PW_ERR);
sc->intmask |= OHCI_INT_DMA_IR | OHCI_INT_DMA_IT; sc->intmask |= OHCI_INT_DMA_IR | OHCI_INT_DMA_IT;
sc->intmask |= OHCI_INT_CYC_LOST | OHCI_INT_PHY_INT; sc->intmask |= OHCI_INT_CYC_LOST | OHCI_INT_PHY_INT;
OWRITE(sc, FWOHCI_INTSTATCLR, ~0);
OWRITE(sc, FWOHCI_INTMASK, sc->intmask); OWRITE(sc, FWOHCI_INTMASK, sc->intmask);
fwohci_set_intr(&sc->fc, 1); fwohci_set_intr(&sc->fc, 1);