[comp.unix.sysv386] FAS on a Microchannel Box with Xenix

ron@mlfarm.uucp (Ronald Florence) (09/26/90)

I recently compiled and tried to install FAS 2.07 on our ps2/80
running Xenix 2.3.3.  We have two IBM dual-asynch boards (four ports)
in addition to the motherboard port.

By defining NEED_PUT_GETCHAR, I got the new kernel to boot, with the
following startup messages from FAS:

   %fas      0x03F8-0x03FF	04	-	unit=0 type=* release=2.07.0
   %fas      0x02F8-0x02FF	03	-	unit=1 type=* release=2.07.0
   %fas      0x3220-0x3227	03	-	unit=2 type=* release=2.07.0
   %fas      0x3228-0x322F	03	-	unit=3 type=F release=2.07.0
   %fas      0x4220-0x4227	03	-	unit=4 type=F release=2.07.0

I am not sure why FAS thinks the on-board port and the first
dual-asych board are not capable of FIFOs.  So far, the question is
academic, because I cannot get gettys running on the serial ports,
and FAS seems to lock up the console until the only relief is the
red switch.

I used the following declarations in space.c:

   #define NUM_PHYSICAL_UNITS	5

   uint	fas_port [NUM_PHYSICAL_UNITS] =
   {
	   0x3f8, 0x2f8, 0x3220, 0x3228, 0x4220
   };

   uint	fas_vec [NUM_PHYSICAL_UNITS] =
   {
	   0x4,	0x3, 0x3, 0x3, 0x3
   };

   uint	fas_mcb [NUM_PHYSICAL_UNITS] =
   {
	   0, 0, 0, 0, 0
   };

   uint	fas_modem [NUM_PHYSICAL_UNITS] =
   {
	   EN_DTR | CA_DCD | UB_RING,
	   EN_DTR | CA_DCD | UB_RING,
	   EN_DTR | CA_DCD | UB_RING,
	   EN_DTR | CA_DCD | UB_RING,
	   EN_DTR | CA_DCD | UB_RING
   };

   uint	fas_flow [NUM_PHYSICAL_UNITS] =
   {
	   HI_RTS | HO_CTS_ON_DSR,
	   HI_RTS | HO_CTS_ON_DSR,
	   HI_RTS | HO_CTS_ON_DSR,
	   HI_RTS | HO_CTS_ON_DSR,
	   HI_RTS | HO_CTS_ON_DSR
   };

and added the following devices to /dev, /etc/ttys, and /etc/ttytype:

   device     major    minor

   ttyF00	5	32
   ttyF01	5	33
   ttyF02	5	34
   ttyF03	5	35
   ttyF04	5	36
   ttyFM00	5	192

Any ideas what is awry?  Has anyone succeeded in getting FAS to work
on a similar setup?  Thanks.
--

Ronald Florence			{hsi,rayssd}!mlfarm!ron