[comp.unix.microport] Help needed with using 'asy' with interrupts 9 & 10

mike@kc5n.UUCP (Mike Barnes) (05/31/89)

Does anyone know what needs to be done to make interrupts on the second
PIC work with Jim Murray's Async device driver (under SYS/AT 2.3)?
Interrupts 3,4 and 5 work fine, but I run into a problem with
interrupts 9 and 10. What seems to happen is that the line opens fine,
but only the first character is sent and then the line hangs. I believe
the tables in 'asy_conf.h' are set up correctly and my 'asy' line in
'master' is:

asy	36,35,37,42	ocrwis	cot	asy	0	5	4

The exact same problem occurred when I used Microport's standard
'asy.o' driver. No other devices in my system use interrupts 9 or 10.
Am I forgetting to change something??

Mike Barnes
-------
{backbone}!killer!texbell!petro!kc5n!mike

lcc@ucscb.UCSC.EDU (73701000) (05/31/89)

In article <291@kc5n.UUCP> mike@kc5n.UUCP (Mike Barnes) writes:
->Does anyone know what needs to be done to make interrupts on the second
->PIC work with Jim Murray's Async device driver (under SYS/AT 2.3)?
->Interrupts 3,4 and 5 work fine, but I run into a problem with
->interrupts 9 and 10. What seems to happen is that the line opens fine,
->The exact same problem occurred when I used Microport's standard
->'asy.o' driver. No other devices in my system use interrupts 9 or 10.
->Am I forgetting to change something??

The uport asy.o will only allow 3,4,5,7. It is hard wired in the driver.

Ken Chapin

johnk@grebyn.COM (John Kennedy) (05/31/89)

In article <291@kc5n.UUCP> mike@kc5n.UUCP (Mike Barnes) writes:
+
+Does anyone know what needs to be done to make interrupts on the second
+PIC work with Jim Murray's Async device driver (under SYS/AT 2.3)?
+Interrupts 3,4 and 5 work fine, but I run into a problem with
+interrupts 9 and 10. What seems to happen is that the line opens fine,
+but only the first character is sent and then the line hangs. I believe
+the tables in 'asy_conf.h' are set up correctly and my 'asy' line in
+'master' is:
+
+asy	36,35,37,42	ocrwis	cot	asy	0	5	4
+

Don't forget to set the fourth interrupt value in asy_conf.h
to 0x0a before compiling asy.c. 
-- 
John Kennedy            |        Second Source, Inc.
uunet!opel!johnk        |        Annapolis, MD