Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - ISA IRQ sharing: (16 Items)
   
ISA IRQ sharing  
Hello,

I am using a 4 RS-232 ISA interface module along with a PC-104 board, but i don't have enough IRQs available for the 4 
RS-232 ports. I tried to start the devc-ser8250 sharing one IRQ between two ports but didn't work. I'd like to know if 
the devc-ser8250 driver supports ISA IRQ sharing or do i need to write an ISR function, if so could anyone supply me 
some example code or any help. Is there anyway i could share ISA IRQ on QNX 6.3.2???

I have 4 ports with only 3 IRQs...need one more!

Many thanks in advance
Gutemberg Franca
RE: ISA IRQ sharing  
Hi:
   This doesn't appear to be a networking question so you might not get
an answer from anyone else...

I suspect that the problem is "does your hardware support interrupt
sharing".  I've seen devc-ser8250 support IRQ sharing on PCI, but I
don't think that ISA supports this.

-----Original Message-----
From: gutemberg franca [mailto:community-noreply@qnx.com] 
Sent: Monday, November 10, 2008 2:34 PM
To: drivers-networking
Subject: ISA IRQ sharing

Hello,

I am using a 4 RS-232 ISA interface module along with a PC-104 board,
but i don't have enough IRQs available for the 4 RS-232 ports. I tried
to start the devc-ser8250 sharing one IRQ between two ports but didn't
work. I'd like to know if the devc-ser8250 driver supports ISA IRQ
sharing or do i need to write an ISR function, if so could anyone supply
me some example code or any help. Is there anyway i could share ISA IRQ
on QNX 6.3.2???

I have 4 ports with only 3 IRQs...need one more!

Many thanks in advance
Gutemberg Franca

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post16335
RE: ISA IRQ sharing  
The ISA bus doesn`t support sharing of interrupts. It`s an electrical limitation. Some companies have cards with 
multiple serial devices on it which do share interrupts but it`s all taken care of by onboard circuitry.

-----Original Message-----
From: Robert Craig [mailto:community-noreply@qnx.com]
Sent: November-10-08 2:42 PM
To: drivers-networking
Subject: RE: ISA IRQ sharing

Hi:
   This doesn't appear to be a networking question so you might not get
an answer from anyone else...

I suspect that the problem is "does your hardware support interrupt
sharing".  I've seen devc-ser8250 support IRQ sharing on PCI, but I
don't think that ISA supports this.

-----Original Message-----
From: gutemberg franca [mailto:community-noreply@qnx.com]
Sent: Monday, November 10, 2008 2:34 PM
To: drivers-networking
Subject: ISA IRQ sharing

Hello,

I am using a 4 RS-232 ISA interface module along with a PC-104 board,
but i don't have enough IRQs available for the 4 RS-232 ports. I tried
to start the devc-ser8250 sharing one IRQ between two ports but didn't
work. I'd like to know if the devc-ser8250 driver supports ISA IRQ
sharing or do i need to write an ISR function, if so could anyone supply
me some example code or any help. Is there anyway i could share ISA IRQ
on QNX 6.3.2???

I have 4 ports with only 3 IRQs...need one more!

Many thanks in advance
Gutemberg Franca

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post16335


_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post16336

RE: ISA IRQ sharing  
> The ISA bus doesn`t support sharing of interrupts. 
> It`s an electrical limitation.

Right - ISA uses edge-sensitive interrupts, and PCI
uses level-sensitive interrupts.  IIRC PCI is active
pull-down, which is why sharing interrupts works - the
interrupt is asserted until all devices stop pulling
it down.

IIRC there was a nifty little bit of circuitry in
the IBM tech ref to try to share ISA interrupts but
it never really caught on.

--
aboyd
Re: ISA IRQ sharing  
> Hello,
> 
> I am using a 4 RS-232 ISA interface module along with a PC-104 board, but i 
> don't have enough IRQs available for the 4 RS-232 ports. I tried to start the 
> devc-ser8250 sharing one IRQ between two ports but didn't work. I'd like to 
> know if the devc-ser8250 driver supports ISA IRQ sharing or do i need to write
>  an ISR function, if so could anyone supply me some example code or any help. 
> Is there anyway i could share ISA IRQ on QNX 6.3.2???
> 
> I have 4 ports with only 3 IRQs...need one more!
> 
> Many thanks in advance
> Gutemberg Franca


How are you starting devc-ser8250 driver?
We have used successfully some ISA multiport serial boards.
We started it with:
devc-ser8250 280,5 288,5 290,5 298,5

PKY
Re: ISA IRQ sharing  
devc-ser8250 -u1 300,3 -u2 308,4 -u3 310,10 -u4 318,???

If i try to use the same IRQ the comunication becomes very slow and i can only send data.

thanks for the help
Gutemberg
Re: ISA IRQ sharing  
Could you post a web link to a manual of your card?

Are there any switches/jumpers on it?

PKY
RE: ISA IRQ sharing  
One thing I should point out, is that although
you can have many UARTS sharing an ISA interrupt,
that sharing (OR-ing) MUST be done by the board.

You can't take two different boards, each with
one UART on board, both using IRQ 3, and expect
that to work on ISA.

You need to have ONE board, which OR's the irq
from a row of UARTs together, so that there is
only ONE device on the ISA bus, using IRQ 3.

Does this make sense?

The original QNX4 serial driver (dunno about
the current one, I hope it's the same) was 
modified by Gord to be smart enough so that when 
an IRQ fired, it would examine ALL the UARTS that 
it had listed for that IRQ.

This worked well at supporting the custom serial
boards, which had a row of UARTS with their IRQs
OR'd into one line.

Hope this helps.  ISA is sorta lost in the mists
of time, now.

--
aboyd
RE: ISA IRQ sharing  

-----Original Message-----
From: Andrew Boyd [mailto:community-noreply@qnx.com] 
Sent: November-26-08 9:40 AM
To: drivers-networking
Subject: RE: ISA IRQ sharing


One thing I should point out, is that although
you can have many UARTS sharing an ISA interrupt,
that sharing (OR-ing) MUST be done by the board.

You can't take two different boards, each with
one UART on board, both using IRQ 3, and expect
that to work on ISA.

Note 100% accurate. Quatech makes (or used to make) an ISA board and you could have multiple cards sharing the IRQ. 
However they had all to be from Quatech and not shared with any other devices.

You need to have ONE board, which OR's the irq
from a row of UARTs together, so that there is
only ONE device on the ISA bus, using IRQ 3.

Does this make sense?

The original QNX4 serial driver (dunno about
the current one, I hope it's the same) was 
modified by Gord to be smart enough so that when 
an IRQ fired, it would examine ALL the UARTS that 
it had listed for that IRQ.

This worked well at supporting the custom serial
boards, which had a row of UARTS with their IRQs
OR'd into one line.

Hope this helps.  ISA is sorta lost in the mists
of time, now.

--
aboyd

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post17368

Re: ISA IRQ sharing  
Mario your quoting system leaves a little to be desired.  I assume you are using the web interface?

Trying to find your replies in the text requires quite a bit of searching, unless, as in this case, your lines are 
longer than the original poster's.

Mario Charest wrote:
> 
> -----Original Message-----
> From: Andrew Boyd [mailto:community-noreply@qnx.com] 
> Sent: November-26-08 9:40 AM
> To: drivers-networking
> Subject: RE: ISA IRQ sharing
> 
> 
> One thing I should point out, is that although
> you can have many UARTS sharing an ISA interrupt,
> that sharing (OR-ing) MUST be done by the board.
> 
> You can't take two different boards, each with
> one UART on board, both using IRQ 3, and expect
> that to work on ISA.
> 
> Note 100% accurate. Quatech makes (or used to make) an ISA board and you could have multiple cards sharing the IRQ. 
However they had all to be from Quatech and not shared with any other devices.
> 
> You need to have ONE board, which OR's the irq
> from a row of UARTs together, so that there is
> only ONE device on the ISA bus, using IRQ 3.
> 
> Does this make sense?
> 
> The original QNX4 serial driver (dunno about
> the current one, I hope it's the same) was 
> modified by Gord to be smart enough so that when 
> an IRQ fired, it would examine ALL the UARTS that 
> it had listed for that IRQ.
> 
> This worked well at supporting the custom serial
> boards, which had a row of UARTS with their IRQs
> OR'd into one line.
> 
> Hope this helps.  ISA is sorta lost in the mists
> of time, now.
> 
> --
> aboyd
> 
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post17368
> 
> 
> 
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post17369
> 

-- 
cburgess@qnx.com
RE: ISA IRQ sharing  
I'm replying using Outlook...  I'll see there any option I can use to help improve the format.  

Thanks!

-----Original Message-----
From: Colin Burgess [mailto:community-noreply@qnx.com] 
Sent: November-26-08 9:54 AM
To: drivers-networking
Subject: Re: ISA IRQ sharing

Mario your quoting system leaves a little to be desired.  I assume you are using the web interface?

Trying to find your replies in the text requires quite a bit of searching, unless, as in this case, your lines are 
longer than the original poster's.

Mario Charest wrote:
> 
> -----Original Message-----
> From: Andrew Boyd [mailto:community-noreply@qnx.com] 
> Sent: November-26-08 9:40 AM
> To: drivers-networking
> Subject: RE: ISA IRQ sharing
> 
> 
> One thing I should point out, is that although
> you can have many UARTS sharing an ISA interrupt,
> that sharing (OR-ing) MUST be done by the board.
> 
> You can't take two different boards, each with
> one UART on board, both using IRQ 3, and expect
> that to work on ISA.
> 
> Note 100% accurate. Quatech makes (or used to make) an ISA board and you could have multiple cards sharing the IRQ. 
However they had all to be from Quatech and not shared with any other devices.
> 
> You need to have ONE board, which OR's the irq
> from a row of UARTs together, so that there is
> only ONE device on the ISA bus, using IRQ 3.
> 
> Does this make sense?
> 
> The original QNX4 serial driver (dunno about
> the current one, I hope it's the same) was 
> modified by Gord to be smart enough so that when 
> an IRQ fired, it would examine ALL the UARTS that 
> it had listed for that IRQ.
> 
> This worked well at supporting the custom serial
> boards, which had a row of UARTS with their IRQs
> OR'd into one line.
> 
> Hope this helps.  ISA is sorta lost in the mists
> of time, now.
> 
> --
> aboyd
> 
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post17368
> 
> 
> 
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post17369
> 

-- 
cburgess@qnx.com

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post17374

RE: ISA IRQ sharing  
> > You can't take two different boards, each with
> > one UART on board, both using IRQ 3, and expect
> > that to work on ISA.
>
> Not 100% accurate. Quatech makes (or used to make) 
> an ISA board and you could have multiple cards sharing 
> the IRQ. However they had all to be from Quatech and 
> not shared with any other devices.

Right - as I mentioned a few posts ago, the IBM
tech ref talked about a bit of circuitry to share
ISA IRQs but it never really caught on - I've never
even seen one, in the last 25 years.

I was just trying to explain the normal case.

--
aboyd
Re: ISA IRQ sharing  
datasheet of the board i'am using...

 ftp://data.aaeon.com.tw/DOWNLOAD/MANUAL/PCM-3640Manual.pdf

Thanks in advance
Gutemberg Franca
RE: ISA IRQ sharing  
Looking at your data sheet, it would appear
that it does not "OR" the interrupts from
the UARTS - rather, it runs each IRQ line
individually to the bus, so each UART is
treated as a completely separate hardware
device, complete with it's own interrupt.

--
aboyd

-----Original Message-----
From: gutemberg franca [mailto:community-noreply@qnx.com] 
Sent: Tuesday, December 02, 2008 2:01 PM
To: drivers-networking
Subject: Re: ISA IRQ sharing

datasheet of the board i'am using...

 ftp://data.aaeon.com.tw/DOWNLOAD/MANUAL/PCM-3640Manual.pdf

Thanks in advance
Gutemberg Franca

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post17781
Re: RE: ISA IRQ sharing  
Hello,

the board you use can't share IRQ. But there is PCM-3641, which can. Could you try it with this board?

PKY

> 
> Looking at your data sheet, it would appear
> that it does not "OR" the interrupts from
> the UARTS - rather, it runs each IRQ line
> individually to the bus, so each UART is
> treated as a completely separate hardware
> device, complete with it's own interrupt.
> 
> --
> aboyd
> 
> -----Original Message-----
> From: gutemberg franca [mailto:community-noreply@qnx.com] 
> Sent: Tuesday, December 02, 2008 2:01 PM
> To: drivers-networking
> Subject: Re: ISA IRQ sharing
> 
> datasheet of the board i'am using...
> 
>  ftp://data.aaeon.com.tw/DOWNLOAD/MANUAL/PCM-3640Manual.pdf
> 
> Thanks in advance
> Gutemberg Franca
> 
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post17781


Re: RE: ISA IRQ sharing  
I'll try this other board you recommended.

thanks for the help. 
Gutemberg Franca