From: Dustin M. <du...@se...> - 2001-07-13 21:33:16
|
> + if(irq >= BIGSUR_IRQ_LOW && irq < BIGSUR_IRQ_HIGH) > + enable_bigsur_l1irq(irq); > + else > + enable_bigsur_l2irq(irq); > + } > } > > static unsigned int startup_bigsur_irq(unsigned int irq) > diff -ruN linux-cvs0712/arch/sh/kernel/setup_cqreek.c > linux-cvs0712+/arch/sh/kernel/setup_cqreek.c > --- linux-cvs0712/arch/sh/kernel/setup_cqreek.c Thu Jul 12 > 18:16:28 2001 > +++ linux-cvs0712+/arch/sh/kernel/setup_cqreek.c Fri Jul 13 > 19:54:23 2001 > @@ -93,7 +93,8 @@ > > static void end_cqreek_irq(unsigned int irq) > { > - enable_cqreek_irq(irq); > + if (!(irq_desc[irq].status & (IRQ_DISABLED|IRQ_INPROGRESS))) > + enable_cqreek_irq(irq); > } > > static unsigned int startup_cqreek_irq(unsigned int irq) > diff -ruN linux-cvs0712/arch/sh/kernel/setup_dc.c > linux-cvs0712+/arch/sh/kernel/setup_dc.c > --- linux-cvs0712/arch/sh/kernel/setup_dc.c Thu Jul 12 18:16:28 2001 > +++ linux-cvs0712+/arch/sh/kernel/setup_dc.c Fri Jul 13 19:59:49 2001 > @@ -98,7 +98,8 @@ > /* After a IRQ has been ack'd and responded to, it needs to be > renabled */ > static void end_systemasic_irq(unsigned int irq) > { > - enable_systemasic_irq(irq); I noticed that DMA is supported for the SH's DMA channels in arch/sh/kernel/dma.c. It looks like dma.c can be built as a kernel module, but the file doesn't seem to be built by the Makefiles. Has the DMA code been tested? Is there a reason it doesn't get built into the kernel? I've got an audio peripheral that needs to use the DMA channels, but I'm unsure whether the SH DMA code is working. Dustin. |