From: Frank Mori Hess Date: Mon, 18 Jun 2007 13:53:00 +0000 (+0000) Subject: Fixed disabling of interrupts in mite_setup(). X-Git-Tag: r0_7_74~76 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4776f6e4fcbae39c8d084da4703573b3bf0115f3;p=comedi.git Fixed disabling of interrupts in mite_setup(). --- diff --git a/comedi/drivers/mite.c b/comedi/drivers/mite.c index a5604118..f2276fd8 100644 --- a/comedi/drivers/mite.c +++ b/comedi/drivers/mite.c @@ -186,7 +186,9 @@ int mite_setup(struct mite_struct *mite) for( i = 0; i < mite->num_channels; i++ ) { writel(CHOR_DMARESET, mite->mite_io_addr + MITE_CHOR(i)); /* disable interrupts */ - writel(0, mite->mite_io_addr + MITE_CHCR(i)); + writel(CHCR_CLR_DMA_IE | CHCR_CLR_LINKP_IE | CHCR_CLR_SAR_IE | CHCR_CLR_DONE_IE | + CHCR_CLR_MRDY_IE | CHCR_CLR_DRDY_IE | CHCR_CLR_LC_IE | CHCR_CLR_CONT_RB_IE, + mite->mite_io_addr + MITE_CHCR(i)); } mite->used = 1;