mv-linux: Problem to implement custom driver interrupt handling

2006-02-10 Thread Andrei Konovalov
Eckart G?hler wrote: > > Andrei Konovalov wrote: > > Hi, > > > > In the Linux driver you should not access the interrupt controller > > directly. > > The relevant XIntc_* calls are done by arch/ppc/syslib/xilinx_pic.c > code. > > E.g. the particular interrupt is unmasked when one calls requ

mv-linux: Problem to implement custom driver interrupt handling

2006-02-10 Thread Eckart Göhler
Andrei Konovalov wrote: > Hi, > > In the Linux driver you should not access the interrupt controller > directly. > The relevant XIntc_* calls are done by arch/ppc/syslib/xilinx_pic.c code. > E.g. the particular interrupt is unmasked when one calls request_irq(). > > Few more comments below

mv-linux: Problem to implement custom driver interrupt handling

2006-02-06 Thread Andrei Konovalov
Hi, In the Linux driver you should not access the interrupt controller directly. The relevant XIntc_* calls are done by arch/ppc/syslib/xilinx_pic.c code. E.g. the particular interrupt is unmasked when one calls request_irq(). Few more comments below. Thanks, Andrei Eckart G?hler wrote: > Hi,

mv-linux: Problem to implement custom driver interrupt handling

2006-02-06 Thread Eckart Göhler
Hi, We try to run montavista Linux pro 3.1 on an ml300 like embedded system on an Virtex V2-Pro system. The system works fine with UART, Xilinx enet driver (booting with Das U-Boot). Now we try to implement some custom GPIO driver that must be triggered from outside interrupts. Polling for data