[comp.unix.questions] com3 & com4 -> tty2 & tty3

sly@kralc.UUCP (sly) (04/19/89)

   I have a 286 box running uport 2.3.0 and I would like to know how to
modify the kernel to enable irq2 and irq5 for serial service.  Under dos
I am able to use com3 and com4 for running a modem and a dumb terminal.
I need to know just what modifications need to be done to the kernel using
the linkkit.  After the kernel has been modified I assume ttypatch has to 
then be used to make the deices.  Has anyone done this before?  ANY help
would be very much appreciated.

                                      Thanx in advance,
                                             |Sly|.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gregg "Sly" Acheson.      UUNET!kralc!sly          Clark College, 
(206) 687-3360                                     Vancouver, Wa.
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

zeeff@b-tech.ann-arbor.mi.us (Jon Zeeff) (04/21/89)

>I have tty2 running under 2.3.0.  In the linkkit, you can "steal" irq5 from
>the second parallel printer device.  Have not been able to get tty3 (com4:)
>to do anything;  can't find any more interrupts to steal from other devices.

I'm now using interrupts 10 and 15 for com3 and com4 (with a non 
standard asy driver).  The AT bus has lots of free interrupts.  


-- 
  Jon Zeeff			zeeff@b-tech.ann-arbor.mi.us
  Ann Arbor, MI			sharkey!b-tech!zeeff

doug@feedme.UUCP (Doug Salot) (04/21/89)

>You can not use IRQ2 for anything under Unix - it is already used by the
>system.

Sure you can.  IRQ2 is redirected to IRQ9 on an AT; just tell the driver
to expect the 'rupts on IRQ 9.  (The real IRQ2 is used for the slave
8259A.)
-- 
doug@feedme.UUCP || ...{zardoz,dhw68k}!feedme!doug || doug%feedme@uunet.uu.net
Doug Salot,  The Poor Man's Renaissance Man  (I read *all* of the newsgroups.)