ts-7000
[Top] [All Lists]

[ts-7000] Re: How to command serial driver to use DIO port IRQ

To:
Subject: [ts-7000] Re: How to command serial driver to use DIO port IRQ
From: "mbuynak" <>
Date: Tue, 10 Apr 2007 03:40:17 -0000
I'm not familiar with pc104 development, but the I can at least point
you towards the correct registers for interrupt enable for the GPIO
pins.  

Check out Chapter 21 of the EP9301 (your processor is the 9302, but
they're essentially the same) manual at 

http://www.cirrus.com/en/pubs/manual/EP9301_User_Guide.pdf

Page 531 should be quite helpful, but you'll probably have to read the
chapter to make any sense of it.

I think you'll probably have to write some kernel code to let you know
when an interrupt happens.  I was directed to the following
chapter/book/website, which has been of great assistance,

http://www.xml.com/ldd/chapter/book/ch09.html

regards,
mike

--- In  "lalater" <> wrote:
>
> Hi Guys,
>  
> We are developing a custom PC104 serial board to be plugged into 
> TS7250 PC104 bus. We want to make this board use the default ISA pnp 
> serial driver which comes with current kernel bits. Our board is 
> properly detected when plugged and set to use PC104 interrupts 6 and 
> 7. However we also have to plug some additional PC104 (Isa) boards 
> that take control over all the available IRQ i.e. 5, 6, 7 and these 
> boards don't allow interrupt sharing. So we ran out of IRQs on PC104 
> bus to be used for our custom serial ports expansion card.
>  
> We have been wondering whether we could command kernel serial driver 
> to use DIO ports as interruption source instead of PC104 (IRQ_GPIO0) 
> ones (of course we should properly wire our serial card IRQ lines to 
> DIO port) . I understand that currently IRQ5 on PC104 comes actually 
> from DIO bus so we believe that this should be feasible.
>  
> I am assuming that the main issue would be to compile a kernel that 
> setup DIO port bits to be used as IRQ lines. In the past I have 
> written drivers to configure DIO ports to work as interruptions but 
> this is only a matter of setting the default values of some registers 
> so I don't think that should be necessary to create my own driver but 
> rather just tweaking something on kernel source files to set default 
> values of target registers (WHERE???).
>  
> Then I assuming that I should set serial to use int 19 (IRQ_GPIO0) 
>  
> `>setserial /dev/ttyS2 irq 19'  ???
>  
> Is this feasible?
>  
> I would really appreciate any suggestions/comments.
>  
> Thanks.
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU