COM3 & COM4 under SCO Xenix ?

D'Arcy J.M. Cain darcy at druid.uucp
Thu Mar 22 00:44:03 AEST 1990


In article <5275 at scolex.sco.COM> md at sco.COM (Michael Davidson) writes:
>
>wcurtiss at x102c.harris-atd.com (Curtiss WC 67625) writes:
>
>>I am trying to install a serial card configured for COM3 and COM4 (INT 3 & 4,
>>I/O Addr 3E8 & 2E8) in a machine which already has COM1 and COM2 (INT 3 & 4,
>>I/O Addr 3F8 & 2F8).  SCO says it can't be done and I should get a multiport
>>card.  This is not an option due to project contraints.  Has anyone written a
>>serial driver that will handle the above situation?
>
>The problem (an the reason why we don't support this) is that you have
>two similar devices sharing the same hardware interrupt line. Now you
>*can* get away with sharing an interrupt line like this under certain
>circumstances, but this isn't one of them. Interrupts on AT bus machines
>are "edge triggered", meaning that the 8259 interrupt controller
>has to see a false -> true transition on the line to latch the
>interrupt (sorry, can't remember whether these lines are active low
>or active high).
>
>Now, consider the situation where COM1 has just interrupted on line
>3 causing the line to change from the inactive to the active state.
>The interrupt controller sees the transition and latches the interrupt.
>Suppose that COM3 then attempts to interrupt on the same line
>*before* the line has returned to it's inactive state - the line is
>already active so you can't get an inactive -> active transition,
>there is no transition for the interrupt controller to see and
>you lose the interrupt.

Am I missing something?  When you have an interupt on a system which
has multiple devices sharing a single interupt you check all the devices
after disabling interupts.  You don't stop after reading the first
device.  There are all sorts of machines with ganged interupts.  Are
you saying that they work because they have been lucky so far?

-- 
D'Arcy J.M. Cain (darcy at druid)     |   Thank goodness we don't get all 
D'Arcy Cain Consulting             |   the government we pay for.
West Hill, Ontario, Canada         |
(416) 281-6094                     |



More information about the Comp.unix.xenix mailing list