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

Custom Driver

2006-01-06 Thread Grant Likely
ca] > Sent: Monday, January 02, 2006 10:59 PM > To: Brett McNerney > Cc: linuxppc-embedded at ozlabs.org > Subject: Re: Custom Driver > > Brett McNerney wrote: > >>I am need to create a driver to interface to custom hardware on a ml403 >>board. I am first trying t

Custom Driver

2006-01-03 Thread [EMAIL PROTECTED]
ike a >bootloader)? Did you call ioremap() to map the physical register >address into virtual memory? Can you give more detail? I have already wrote I custom driver for Xilinx FPGA. For this I have looked to already exist driver for Xilinx in Linux tree and modify them for me. It was no p

Custom Driver

2006-01-02 Thread Brett McNerney
I am need to create a driver to interface to custom hardware on a ml403 board. I am first trying to just create a ipif register bank and access the registers from linux but am not having any luck of yet. Has anyone successfully done this and if so explain how or supply a driver to do this and how

Custom Driver

2006-01-02 Thread Grant Likely
Brett McNerney wrote: > I am need to create a driver to interface to custom hardware on a ml403 > board. I am first trying to just create a ipif register bank and access > the registers from linux but am not having any luck of yet. Has anyone > successfully done this and if so explain how or supp