[comp.unix.xenix] Comm 3/4 under Xenix

root@raider.MFEE.TN.US (Bob Reineri) (05/21/89)

 Many thanks for the replies to my earlier post on using comm 3/4 on an AT
running xenix. Most of the responses I recieved seemed to confirm my worst
thoughts - that it wasn't possible.

I do have a letter from a gentleman who says it *is* possible though. For the
many who wrote me asking to forward the information if I found any, here it
is: 

**************************************************************************

From mjbtn!killer!ames!uunet.UU.NET!zardoz!alphacm!root Tue May  2 01:50:56 1989
Subject: comm 3 & 4


The following text was extracted from a usenet message in comp.unix.xenix.
It describes how to add additional IBM-Standard COMM PORTS as comm3 and
comm4 under SCO Xenix.

---------------------------------------------------------------------------

1.  edited sioconf.c

      My internal modem card can use IO addresses 3f8,2f8,3e8 and 2e8
      which correspond com1,com2,com3 and com4 and IRQ lines IRQ3,IRQ4,
      IRQ5 and IRQ9.

      My 1-port rs-card can be configured as com1-com4, but com3 uses
      IO address 338/IRQ2 and com4 uses 238/IRQ5.

      I added new descriptors to sioconf.c for internal modem: IO 2e8 and
      IRQ5 (IRQ9 cannot be used), board type IBM_BOARD, port count 1,
      minor dev base 12, interrupt poll addr 0, increment 0 and for
      1-port rs-card: IO 338 and IRQ2, IBM_BOARD, port count 1, minor
      dev base 4, interrupt poll 0, increment 0.

2.  edited master

      master file contains information about different devices including
      interrupt vectors used.  Serial (marked sio) devices used originally
      IRQs 3,4,33 and 34.  I tried those my modem card supports: 3,4,5 and 9,
      but config program didn't like IRQ9, so I used IRQ2 instead.  IRQ5
      is used originally for second parallel adapter (centronics), the main
      parallel adapter is connected to IRQ7 so I used this unused IRQ5 for
      internal modem card.  I replaced the original IRQ5 on the pa
      (parallel) line with 0 and replaced the original vector count 2 with
      1.  This 'pa' line can be found in master file like 'sio' line. 
      Interrupt vector count is 4 for 'sio' line.

3. make

      I recompiled all modified sources with make (yes, you need development
      system to do this) and copied the just linked new kernel to the root
      directory (/comx).

4. reboot

      I rebooted my system and to the boot-prompt I entered comx (name of
      the new untested kernel).  Everything worked fine, com1, com2, com3
      and the internal modem as com4 were found.

*******************************************************************************

Actually, this lone hopeful letter was received from a friend of mine who 
contacted Sandy for me. Unfortunately, it wont work for me as my serial 
board does support com 3/4 port addresses, but no interrupt vectors other
than the normal 3 and 4. Good luck to all who wrote !

Bob
-- 
*RaiderNet Public Access, Murfreesboro, TN.  -  Middle Tenn's Unix GateWay*
*Phone: (615)896-8716/(615)896-7905 Mail: BOX 2371, Murfreesboro, TN 37133*
*DOMAIN: root@raider.MFEE.TN.US  UUCP:!{ames,rutgers,decwrl}!killer!raider*